I am wanting to add a user-bar to my site, such as this one:
I am wanting the bar at the bottom of the page and for it to move as I scroll, how would I do this?
Add this code to the bottom of your
headerinclude_welcomeblock_member template:
<div style="width: 100%; text-align: left; padding: 7px; position: fixed; bottom: 0; left: 0; font-size: small; background: #eee; border: 1px solid #888; color: #000">
<div style="border: 1px solid #ccc; padding: 3px; display: inline;">
<a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
</div>
<div style="border: 1px solid #ccc; padding: 3px; display: inline;">
<form action="/search.php" method="post" style="display: inline;"><input name="keywords" title="Enter your search keywords" type="text" /><input value="Search Forum" name="submit-search" type="submit" /><input type="hidden" name="action" value="do_search" /></form>
</div>
</div>
So basically you want to add &filterxt_prefix=2 onto arbitrary links? It's kind of impossible... (edit: very difficult/impractical...)
May I ask why you want to do this, or what it does?
(2011-12-28, 01:15 AM)Dennis Tsang Wrote: [ -> ]So basically you want to add &filterxt_prefix=2 onto arbitrary links? It's kind of impossible... (edit: very difficult/impractical...)
May I ask why you want to do this, or what it does?
That was the whole point of everything that I was doing today, it would be pointless if I wasn't able to add that to any given page I was on.
What I am planning on doing is nothing like I have seen on any other forum, this would create less server strain and load pages a bit faster.
What I have done is make general section, then I have made thread prefixes which go into more specific details.
The user would go into the general section then would click on the button on the userbar so it would filter all the threads with a specific thread prefix so they are by themselves.
This would make the forum look cleaner and simple.
Ok, I got it to work.
Just in case anyone stumbles upon this in the future and wants to know how I did it, the code I used is:
<div style="border: 1px solid #ccc; padding: 3px; display: inline;">
<a href="{$forumurl_q}filterxt_prefix=1">Display MW2</a>