PDA

View Full Version : Add-On Releases - Edit New Thread Button


Abe1
12-13-2005, 10:00 PM
Edit New Thread Button 1.1


About this hack:
This hack allows you to change where the "New Thread" button directs your users for each forum. This hack gets customized from the forum options and different for each forum.

This is an ideal hack if you want your users to make a new thread using a form or something else besides the regular vb new thread page.

This hack has been created do to requests by users of my hack call Forms Hack.

Installation information on hack:

Files edited: 0
Templates edited: 1
Files to upload: 0
Time to install: 1 minuteUpdates:

Version 1.0 (12/13/05):

Initial Release of this hackVersion 1.1 (12/17/05):

Added one more template edit thanks to WNxWakko
Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

nexialys
12-14-2005, 02:05 AM
this is a good idea, but actually going nowhere... maybe make a note to non-coders that this hack is actually not doing anything if you don't know what you're doing with it...

Abe1
12-14-2005, 02:08 AM
this is a good idea, but actually going nowhere... maybe make a note to non-coders that this hack is actually not doing anything if you don't know what you're doing with it...

Why would non-coders not know what to do?????

Floris
12-14-2005, 02:54 AM
this is a good idea, but actually going nowhere... maybe make a note to non-coders that this hack is actually not doing anything if you don't know what you're doing with it...

I am sorry, but that is a useless comment.

He DID explain in his post why it is handy by pointing out an example: This hack has been created do to requests by users of my hack call Forms Hack.

Ramsesx
12-14-2005, 03:19 AM
I am a non coder and know for what it is ;)
Thanks for it Abe, I'll install it later.
One question only, for every forum I can point it to a different form?

WNxWakko
12-14-2005, 03:26 AM
This hack is a great addition. Anyone who uses his Form hack will definitly apprieciate this.

utw-Mephisto
12-14-2005, 09:50 AM
I'd love to use that one since I am using the form hack for submitting maps, mods etc. for games.

HOWEVER, I would like to use it for the first initial post only and when people replying it uses the regular reply button - is that in any way possible

Bad Bunny
12-14-2005, 11:42 AM
I'd love to use that one since I am using the form hack for submitting maps, mods etc. for games.

HOWEVER, I would like to use it for the first initial post only and when people replying it uses the regular reply button - is that in any way possible

Well, if you use this mod to make the "New Thread" button go to the form, your reply buttons will still work as planned. And since by default vB no longer has "New Thread" button within a thread, there is little chance of someone being confused. So it sounds like this will do exactly what you want.


These two mods are great, Abe1!

utw-Mephisto
12-14-2005, 11:51 AM
Stupid me .. of course, makes sense :) Thanks ...

Abe1
12-14-2005, 12:17 PM
I am a non coder and know for what it is ;)
Thanks for it Abe, I'll install it later.
One question only, for every forum I can point it to a different form?

Yes. The option is in the forum setting. Each forum gets it's own option.

Abe1
12-14-2005, 12:21 PM
I just updated the zip file. I have forgotten to say to do the template edit 2 times for both places.

jugo
12-14-2005, 01:09 PM
w00 hooo!!

This is awesome abe....thanks.

Hey Nexyalis....I'm gonna release the "Remove Foot From Mouth" hack in a couple of days...i'll let you have a first crack at it.

sorry mods...

Abe1
12-14-2005, 02:52 PM
Hey Nexyalis....I'm gonna release the "Remove Foot From Mouth" hack in a couple of days...i'll let you have a first crack at it.
ROFL

RMS-Chef
12-15-2005, 03:34 AM
Fantastic compliment to the forms hack Abe.
Will install this soon and I can take out my huge nested conditionals I use currently.

Thanks again.

Snake
12-15-2005, 05:17 PM
Thanks.

pipin
12-16-2005, 04:33 AM
Nice one. :up:

Abe, could you make a "A Reply Button" of this one too?

Would be nice for Threads where you want a Feedback from users only with a form.

Abe1
12-16-2005, 11:53 AM
Nice one. :up:

Abe, could you make a "A Reply Button" of this one too?

Would be nice for Threads where you want a Feedback from users only with a form.

Would be much harder. Threads dont have setting of thier own.

WNxWakko
12-17-2005, 07:45 PM
You missed one part in this. On every forum there is a link tool called "forum tools" In that dropdown there is a post new thread text button.

in FORUMDISPLAY:

FIND:

<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>


REPLACE WITH:

<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><if condition="$foruminfo['edit_new_thread_button']"><a href="$foruminfo[edit_new_thread_button]" rel="nofollow">$vbphrase[post_a_new_thread]</a><else /><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></if></td></tr></if>

Abe1
12-17-2005, 09:16 PM
Version 1.1 (12/17/05):

Added one more template edit thanks to WNxWakko

rip9001
01-02-2006, 07:21 PM
Good Stuff!

naqalone
02-06-2006, 01:16 AM
Many thanks.

Installed !!!

Dennis B
02-16-2006, 11:25 PM
This is great, but there's one little piece of information missing.
Since this is now redirecting someone already inside a forum to the newreply.php?do=form, what's the correct setting for $formforumid in the main hack plugin...?
It doesn't make sense to be an idividual forumid since this add-on is meant to be used for several forums...

Thanks

Abe1
02-17-2006, 12:41 AM
This is great, but there's one little piece of information missing.
Since this is now redirecting someone already inside a forum to the newreply.php?do=form, what's the correct setting for $formforumid in the main hack plugin...?
It doesn't make sense to be an idividual forumid since this add-on is meant to be used for several forums...

Thanks

You can use this hack for several forums if they both use the save form or if they use differany forms. Read around the form hack to see how to be able to have like newreply.php?do=form&f=10 so the form goes to forumid 10.

MythoLogy
03-01-2006, 10:54 PM
*clicks install

Definitely this and the forms hack will help for guilds finding an alternate to what guildportal provides. Thanks for these 2 great mods.

almukmin
04-30-2006, 02:44 AM
I think I got it, sorry.

Boofo
04-30-2006, 02:50 AM
Finally! The Ultimate April Fool's Hack! ;)

dutchbb
04-30-2006, 02:04 PM
Nice, but it would be even better if one could change the image file i.e: change it to a "New Review" button or so.

Otherwise I still have to change it in the templates after every big update.

Necser
06-21-2006, 04:15 PM
Nice, but it would be even better if one could change the image file i.e: change it to a "New Review" button or so.

Otherwise I still have to change it in the templates after every big update.

Abe1, Can this be done?

Abe1
06-21-2006, 05:57 PM
Abe1, Can this be done?
This would be harder to do. I can't do this for you.

Spinball
08-15-2006, 08:39 AM
Surprised nobody has asked this already.
Does this hack work with 3.6?

RMS-Chef
08-15-2006, 08:53 PM
Surprised nobody has asked this already.
Does this hack work with 3.6?
God I hope so. :)
I would hate to have to figure out the massive conditional I originally wrote to do this but removed since Abe relseased this mod.

leroub
08-16-2006, 12:37 AM
hummm..... i have a blank page with the VBSilver (SubSilver clone) skin (https://vborg.vbsupport.ru/showthread.php?t=120972).... when i click on newthread button...

But i dont have any prob with the other skin....

Abe1
08-16-2006, 03:49 AM
Yes, this does work for vb3.6

RMS-Chef
08-23-2006, 03:21 PM
Yes, this does work for vb3.6
Like a charm. :)

RMS-Chef
10-11-2006, 03:35 AM
Found a new use for this in combination with CMPS. I suppose the same could be done with the custom_ template prefix as well.

I have a couple of forums where people should "only create a new thread if...". I created a small separate page that the new thread button links to with a disclaimer stating clearly the requirements for posting a new thread in that forum and then just manually added the HTML for the new thread button and link. This has stopped mis-posts almost completely.

I do the same thing with my support forums as I was getting a lot of support threads asking about crap not related to my site. So they hit the new thread button and are directed to a disclaimer about what we support before being able to submit the new thread.

RedGTiVR6
02-20-2007, 12:06 PM
This might be a stupid question, but I really don't want to implement this and find out otherwise.

I can set which forum I want this hack to be used in, right? In otherwords, it will not necessarially replace every 'New Thread' button with a link to the form will it?

Charles_1
02-20-2007, 12:21 PM
This might be a stupid question, but I really don't want to implement this and find out otherwise.

I can set which forum I want this hack to be used in, right? In otherwords, it will not necessarially replace every 'New Thread' button with a link to the form will it?
Yes, you are right. In admincp you will be able to specify new thread button link for each forum independently. I am using this in connection with Abe's Form Hack and it is simply great :-).

RedGTiVR6
02-20-2007, 12:37 PM
After pecking around the general vBulletin settings, I realized it wouldn't be in there, it would be under the Forum Management area for the specific forum.

I'm using it with the Form mod as well. Great mods!

Only one thing would have made me rate this as an excelent mod, the ability to change the 'New Thread' button to read something different in the forums where this is used. I understand that would be a good deal of coding though. I wonder if there's another mod out there that does this?

Marked as Installed!

Abe1
02-20-2007, 01:08 PM
After pecking around the general vBulletin settings, I realized it wouldn't be in there, it would be under the Forum Management area for the specific forum.

I'm using it with the Form mod as well. Great mods!

Only one thing would have made me rate this as an excelent mod, the ability to change the 'New Thread' button to read something different in the forums where this is used. I understand that would be a good deal of coding though. I wonder if there's another mod out there that does this?

Marked as Installed!
Maybe a way to change the image. I'll try to work on it.

RedGTiVR6
08-02-2007, 03:47 PM
EDIT: never mind...for some reason, when I did the template reversions, these slipped through. it's fixed now!

RedGTiVR6
08-13-2007, 05:22 PM
Ok - new issue. For some reason, after the 3.6.8 update I have a few users that are running into issues with this mod.

When they mouse over the new thread button, it shows the link to the normal new thread page, not where I want it to go to.

This only happens to a small number of users. If I log in as that user (using a log-in as mod) and I click on the new thread button, it takes me to the right place. If I mouse over the button, it shows the correct link. Same goes for me as admin. It will take me to the right place.

Wondering if anyone else is noticing this issue?

RedGTiVR6
11-07-2007, 02:04 AM
I'm still experienceing this issue. I realize that this modification states that it works with 3.5 and that I'm running 3.6

Is there a chance that this could be ported over to work with 3.6 by chance?

I'm thinking that the new thread template might be the issue and I'm not savy enough to figure out what's going on.

Is anyone else experiencing this issue? This is cripling our bug reporting process and it's driving me nuts!

Abe1
11-12-2007, 12:05 AM
I'm still experienceing this issue. I realize that this modification states that it works with 3.5 and that I'm running 3.6

Is there a chance that this could be ported over to work with 3.6 by chance?

I'm thinking that the new thread template might be the issue and I'm not savy enough to figure out what's going on.

Is anyone else experiencing this issue? This is cripling our bug reporting process and it's driving me nuts!
Does not make any sense. This is not a user based thing.

RedGTiVR6
11-12-2007, 11:02 AM
I realize it's not a user based mod, however, I'm completely stumped as to why it would be happening like this....

Abe1
11-12-2007, 11:16 AM
Try installing my admin log-in as user hack and see if it happens to you also when you are logged in under them.

RedGTiVR6
11-27-2007, 07:09 PM
I have that mod installed as well.

When I'm logged in as myself, when I mouse over the link, it shows me the proper link and takes me to the proper link.

When I log in as someone else, it doesn't show the proper link or take me to the proper link.

If I manually go to the proper link as another user, I'm able to get to it just fine.

I've just tried uninstalling and reinstalling the mod, including removing the 3 customizations to the template you have listed in the .txt file but it's just not working.

Abe - I'm willing to pay you for your time to help me figure out what I've messed up because for the life of me, I cannot figure it out.

Please let me know.

Abe1
11-28-2007, 11:58 PM
I have that mod installed as well.

When I'm logged in as myself, when I mouse over the link, it shows me the proper link and takes me to the proper link.

When I log in as someone else, it doesn't show the proper link or take me to the proper link.

If I manually go to the proper link as another user, I'm able to get to it just fine.

I've just tried uninstalling and reinstalling the mod, including removing the 3 customizations to the template you have listed in the .txt file but it's just not working.

Abe - I'm willing to pay you for your time to help me figure out what I've messed up because for the life of me, I cannot figure it out.

Please let me know.
Can you PM me your login details to an admin account?

RedGTiVR6
11-29-2007, 12:05 AM
PM sent.

RedGTiVR6
02-27-2008, 06:06 PM
Any word if this mod will work with 3.7?

Boofo
02-27-2008, 06:07 PM
Have you tried it?

RedGTiVR6
02-27-2008, 06:28 PM
If I were running 3.7 I would.

I'm trying to prepare for when we upgrade to 3.7 by finding out if my currently installed mods will work with it.

Abe1
03-02-2008, 05:50 PM
Yes, it works.

CampinCarl
06-06-2008, 05:40 AM
no it doesnt.
I just tested it out, and it makes the field in the admin panel, but doesnt erdirect.
If you could make it work with 3.7, that would be great!

RedGTiVR6
06-10-2008, 02:43 PM
any updates on this?

Kinneas
06-12-2008, 12:12 PM
If you've done a significant version update you've probably reverted or edited the FORUMDISPLAY template. Re-do the edits described originally. It works fine on my 3.7.1.

ionian
06-18-2008, 08:43 AM
It works on 3.7.1 :)

vithorius
07-03-2008, 12:55 PM
Great Hack this one!

Abe, one suggestion:


https://vborg.vbsupport.ru/external/2011/07/3.gif You should put some information on your Forms Hack informing users that you have this one here, as it would be a tremendous help for us non-coders and little experienced (just like myself!) https://vborg.vbsupport.ru/external/2011/07/3.gif


Keep on the excellent work! :up: :up:

BlueBulletRL
08-10-2008, 03:06 PM
I have this working on 3.7.1 though I have a question. How can I make it work so that when you hit the button you have to have a minimum post count other wise you get a box saying you do not have the proper permissions? If so that would be great!

BlueBulletRL
08-15-2008, 06:46 PM
anyone able to help me out here please? I have tried to figure it out on my own and have so far failed.

BlueBulletRL
09-14-2008, 05:26 AM
<if condition="$show['newthreadlink']">
<tr><td class="vbmenu_option">
<if condition="$foruminfo['edit_new_thread_button']">
<a href="$foruminfo[edit_new_thread_button]" rel="nofollow">$vbphrase[post_a_new_thread]</a>
<else />
<if condition="$post[posts] < '25'" >
<a href="$foruminfo[edit_new_thread_button]" rel="nofollow">$vbphrase[post_a_new_thread]</a>
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a>
</if>
</if>
</td></tr>
</if>

This is what I am trying to use and so far its not working. SOMEONE HELP

Chrakker
01-11-2009, 05:41 PM
Works in 3.7.5 from Scratch!
Thanks very much for this useful hack ;)

100% appreciated

*installed

KevinLee
01-18-2009, 10:03 PM
I've installed this hack and set it up with "newreply.php?do=form" but when I hit the new thread button it says "Sorry! This forum is not accepting new posts." Any ideas?

Abe1
01-20-2009, 03:26 AM
I've installed this hack and set it up with "newreply.php?do=form" but when I hit the new thread button it says "Sorry! This forum is not accepting new posts." Any ideas?
newreply.php?do=form is the right link?

buurman
01-20-2009, 06:36 PM
Again, back to form, and so, back to this plugin, always worked like a charm.

Installed, but it doesnt show in the Vbulletin Options list.

Im on 3.7.3

Am i looking in the wrong place or forgetting something, its in the plugin list.

ZeepySea
02-14-2009, 04:48 AM
EDIT: I clicked wrong one, it is not this one causing errors, but another mod. This one works like a charm

I am now getting this error


Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error


We updated to 3.6.10 (yes we are slow, have so many mods we have to test before we do next update). Now we can't get any new post with this, this is our way to get new clan members. They are unable to post now any suggestions anyone?

bojomojo
07-21-2009, 03:58 PM
Does this by any chanve work on 3.8?

JamesGunner
12-23-2009, 09:02 PM
Are there any plans for vb 4?

Dubi
03-05-2010, 08:38 AM
For Vb 4.0.2:

Install the product. Do the follow 3 template edits in FORUMDISPLAY template:

1) Find the code for "Create New Thread" top button:<vb:if condition="$show['newthreadlink']"><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>Replace with:<vb:if condition="$show['newthreadlink']"><vb:if condition="$foruminfo['edit_new_thread_button']"><a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>
<vb:else />
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
</vb:if>2) Find the code for "Create New Thread" on Forum Tools menu:<vb:if condition="$show['newthreadlink']">
<li>
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
{vb:rawphrase post_a_new_thread}&hellip;
</a>
</li>
</vb:if>Replace with:<vb:if condition="$show['newthreadlink']">
<li>
<vb:if condition="$foruminfo['edit_new_thread_button']">
<a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow"> {vb:rawphrase post_a_new_thread}&hellip;
</a>
<vb:else />
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
{vb:rawphrase post_a_new_thread}&hellip;
</a>
</vb:if>
</li>
</vb:if>3) Find the code for "Create New Thread" bottom button: <vb:if condition="$show['newthreadlink'] AND $show['threadslist']">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>Replace with:<vb:if condition="$show['newthreadlink'] AND $show['threadslist']"><vb:if condition="$foruminfo['edit_new_thread_button']"><a href="{vb:raw foruminfo.edit_new_thread_button}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
<vb:else />
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
</vb:if>

Hope that helps all "4.x people" to keep this mod working.

StagKill
06-23-2010, 04:12 AM
I was wondering if we could do something like, when one clicks post reply in a particular thread it should redirect to a form. Is it possible to implement that in post reply instead of new thread?

Digma
11-27-2010, 09:27 PM
Excellent. Just what I was looking for in combination with Easy Forums. Thanks for this!

Works like a charm on 3.7.3

andie215
01-10-2011, 06:32 AM
Thanks for this mod and it works on vb3.8.5 :D

andie215
01-10-2011, 06:34 AM
I was wondering if we could do something like, when one clicks post reply in a particular thread it should redirect to a form. Is it possible to implement that in post reply instead of new thread?

Thats exactly what ive done using this mod with easy forms https://vborg.vbsupport.ru/showthread.php?t=201097&highlight=forms

Emre ?nan
01-02-2014, 07:48 PM
Can anybody fix it for vb3.8.4 ?

blind-eddie
01-06-2014, 01:24 AM
Can anybody fix it for vb3.8.4 ?

Works perfect up to vb4.2.2 with a bit of editing.

What issues are you having?

m7sen
10-30-2014, 07:27 PM
please support it to be Automatic adjustment to the templates
and must have option to Edit New post Button in thread

support it for vb3.8.8 please

mykkal
05-10-2015, 10:10 PM
Does this work with vb 4.2.3 beta 4? Or is there a version available for vb 4.2.3? I saw the code for vb 4.02 but there's no guarantee that will work with my version.

blind-eddie
05-10-2015, 11:12 PM
Does this work with vb 4.2.3 beta 4? Or is there a version available for vb 4.2.3? I saw the code for vb 4.02 but there's no guarantee that will work with my version.

Yes, it will work.

mykkal
05-11-2015, 12:39 AM
Yes, it will work.

Last question... is there different code to change? The code i'm looking for doesn't exist in vb 4.2.3. That probably means the code in the text file isn't good to use either...Vb 4.2.3 beta 4 is using divs...not tables

This doesn't exist:
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>

This edit doesn't exist either::eek:
<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>

blind-eddie
05-11-2015, 01:07 AM
Sorry, I no longer use vb4.
I just don't remember, I believe the fix is posted.

blind-eddie
05-11-2015, 01:48 AM
Here you go.

https://vborg.vbsupport.ru/showpost.php?p=1997612&postcount=68

mykkal
05-11-2015, 02:21 AM
Here you go.

https://vborg.vbsupport.ru/showpost.php?p=1997612&postcount=68

Thanks so much for trying to help. There are different variables there too. Although it matches much more closely than the vb 3.8 version I am not a developer and I would undoubtedly break something. Could I pay you something for this? If not... thanks for your kindness thus far.


Here is the FORUMSDISPLAY code for vb .4.2.3 beta 4
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
<vb:if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v={vb:raw vboptions.simpleversion}"></script></vb:if>
<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
<vb:if condition="$show['ajax_js']">
<script type="text/javascript" src="clientscript/vbulletin-ajax-threadlist.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
<!--
var titlemaxchars = parseInt("{vb:raw vboptions.titlemaxchars}"),
input_padding = parseInt("{vb:stylevar input_padding}");
//-->
</script>
</vb:if>
<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile forumdisplay-rollup.css}
<vb:else />
{vb:cssfile toolsmenu.css,forumbits.css,forumdisplay.css,threa dlist.css,options.css}
</vb:if>

<!--[if lt IE 8]>
<script type="text/javascript" src="clientscript/vbulletin-threadlist-ie.js?v={vb:raw vboptions.simpleversion}"></script>
{vb:cssfile toolsmenu-ie.css,forumbits-ie.css,forumdisplay-ie.css,threadlist-ie.css,options-ie.css}
<![endif]-->
{vb:raw headinclude_bottom}
</head>

<body>

{vb:raw header}

{vb:raw navbar}

<vb:if condition="$announcebits">
<ol id="announcements" class="announcements">
{vb:raw announcebits}
</ol>
</vb:if>

<div id="above_threadlist" class="above_threadlist">
<vb:if condition="$show['newthreadlink']"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
<vb:if condition="$show['threadslist']">
<div class="threadpagenav">
{vb:raw pagenav}
<div id="threadpagestats" class="threadpagestats">{vb:rawphrase showing_threads_x_to_y_of_z, {vb:raw limitlower}, {vb:raw limitupper}, {vb:raw totalthreads}}</div>
</div>
</vb:if>
</div>
<div id="pagetitle" class="pagetitle">
<h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
<vb:if condition="$foruminfo['description']"><p class="description">{vb:raw foruminfo.description}</p></vb:if>
</div>

<vb:if condition="$show['threadslist']">
<div id="above_threadlist_controls" class="above_threadlist_controls toolsmenu">
<div>
<ul class="popupgroup forumdisplaypopups" id="forumdisplaypopups">
<li class="popupmenu nohovermenu" id="forumtools">
<h6><a href="javascript://" class="popupctrl" rel="nofollow">{vb:rawphrase forum_tools}</a></h6>
<ul class="popupbody popuphover">
<vb:if condition="$show['newthreadlink']">
<li>
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
{vb:rawphrase post_a_new_thread}&hellip;
</a>
</li>
</vb:if>
<li>
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;f={vb:raw foruminfo.forumid}&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow" onclick="return mark_forum_and_threads_read({vb:raw foruminfo.forumid});">
{vb:rawphrase mark_this_forum_read}
</a>
</li>
<vb:if condition="$show['member'] AND $foruminfo['allowposting']">
<li>
<vb:if condition="$show['subscribed_to_forum']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
<vb:else />
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase subscribe_to_this_forum}&hellip;</a>
</vb:if>
</li>
</vb:if>
<li><a href="<vb:if condition="$foruminfo['parentid'] == -1">{vb:link forumhome}<vb:else />{vb:link forum, {vb:raw foruminfo}, null, 'parentid', 'parenttitle'}</vb:if>" rel="nofollow">{vb:rawphrase view_parent_forum}</a></li>
</ul>
</li>
<vb:if condition="$show['adminoptions']">
<li class="popupmenu nohovermenu" id="admintools">
<h6><a href="javascript://" class="popupctrl">{vb:rawphrase administrative}</a></h6>
<ul class="popupbody popuphover">
<vb:if condition="$show['post_queue']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=modposts&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase view_posts_queue}</a></li></vb:if>
<vb:if condition="$show['attachment_queue']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=modattach&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase view_attachment_queue}</a></li></vb:if>
<vb:if condition="$show['mass_move']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=move&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase massmove_threads}&hellip;</a></li></vb:if>
<vb:if condition="$show['mass_prune']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=prune&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase massprune_threads}&hellip;</a></li></vb:if>
<vb:if condition="$show['addmoderator']">
<li><a href="moderator.php?{vb:raw session.sessionurl}do=addmoderator&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase add_moderator}&hellip;</a></li>
</vb:if>
<vb:if condition="$show['post_new_announcement']">
<li><a href="moderator.php?{vb:raw session.sessionurl}do=postannouncement&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase post_new_announcement}&hellip;</a></li>
</vb:if>
</ul>
</li>
</vb:if>
<li class="popupmenu nohovermenu forumsearch menusearch" id="forumsearch">
<h6><a href="javascript://" class="popupctrl">{vb:rawphrase search_this_forum}</a></h6>
<form action="search.php?do=process" method="get">
<ul class="popupbody popuphover">
<li>
<input type="text" class="searchbox" name="q" value="{vb:rawphrase search_dots}" />
<input type="submit" class="button" value="{vb:rawphrase search}" />
</li>
<li class="formsubmit" id="popupsearch">
<div class="submitoptions">
<label><input type="radio" name="showposts" value="0" checked="checked" /> {vb:rawphrase show_threads}</label>
<label><input type="radio" name="showposts" value="1" /> {vb:rawphrase show_posts}</label>
</div>
<div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}search_type=1&amp;contenttype=vBFor um_Post&amp;forumchoice[]={vb:raw forumid}" rel="nofollow">{vb:rawphrase advanced_search}</a></div>

</li>
</ul>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="contenttype" value="vBForum_Post" />
<input type="hidden" name="forumchoice[]" value="{vb:raw forumid}" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
</form>
</li>
{vb:raw threadadmin_imod_menu_thread}



</ul>
<vb:if condition="$show['inlinemod']">
<script type="text/javascript">
<!--
vB_XHTML_Ready.subscribe(function() { register_inlinemod("thread_inlinemod_form", "li", "threadbit", "thread"); });
//-->
</script>
</vb:if>
</div>
</div>
</vb:if>


<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
<div class="forumhead">
<h2>
<span class="forumtitle">{vb:rawphrase subforums}</span>
<span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
</h2>
</div>
<ol>
{vb:raw forumbits}
</ol>
</div>
{vb:raw template_hook.forumdisplay_below_subforums}
</vb:if>

<vb:if condition="$show['threadslist']">
{vb:raw template_hook.forumdisplay_above_threadlist}
<div id="threadlist" class="threadlist">
<form id="thread_inlinemod_form" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}inlinemod.php?forumid={vb:raw forumid}" method="post">
<h2 class="hidden">{vb:rawphrase threads_in_forum}</h2>

<div>
<div class="threadlisthead table">
<div>
<span class="threadinfo">
<span class="threadtitle">
<a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_title}}" rel="nofollow">{vb:rawphrase title}{vb:raw sortarrow.title}</a> /
<a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
</span>
</span>
<vb:if condition="$show['search_engine']">

<span class="threadstats td">{vb:rawphrase replies} {vb:raw sortarrow.replycount} / {vb:rawphrase views}</span>
<span class="threadlastpost td">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</span>
<vb:else />

<span class="threadstats td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_replycount}}" rel="nofollow">{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a></span>
<span class="threadlastpost td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_flastpost}}" rel="nofollow">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</a></span>
<vb:if condition="$show['inlinemod']"><span class="threadimodimod td"></span></vb:if>
</vb:if>
</div>
</div>

<vb:if condition="$show['stickies']">
<ol id="stickies" class="stickies">
{vb:raw threadbits_sticky}
</ol>
</vb:if>
<vb:if condition="$show['threads']">
<ol id="threads" class="threads">
{vb:raw threadbits}
</ol>
<vb:else />
<div class="threadbit">
<p class="nonthread">
<vb:if condition="$show['noposts']">
<strong>{vb:rawphrase no_posts_in_this_forum}</strong>
<vb:else />
<strong>{vb:rawphrase no_posts_last_x_days_forum, {vb:raw daysprune}}</strong>
<span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
</vb:if>
</p>
</div>
</vb:if>
</div>
<hr />

<div class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>forumfoot">
<vb:if condition="$show['inlinemod']">
<div id="inlinemod_formctrls" class="popupmenu nohovermenu">
<a href="javascript://" class="popupctrl"><span class="ctrlcontainer">{vb:rawphrase moderation_tools} (<span id="thread_inlinemod_count">0</span>)</span></a>
<ul class="popupbody popuphover">
<vb:if condition="$show['deletethread']">
<li><label><input type="radio" name="do" value="deletethread" checked="checked" /> {vb:rawphrase delete_threads}&hellip;</label></li>
<li><label><input type="radio" name="do" value="undeletethread" /> {vb:rawphrase undelete_threads}</label></li>
</vb:if>
<vb:if condition="$show['spamctrls']">
<li><label><input type="radio" name="do" value="spamthread" /> {vb:rawphrase delete_threads_as_spam}&hellip;</label></li>
</vb:if>
<vb:if condition="$show['openthread']">
<li><label><input type="radio" name="do" value="open" /> {vb:rawphrase open_threads}</label></li>
<li><label><input type="radio" name="do" value="close" /> {vb:rawphrase close_threads}</label></li>
</vb:if>
<vb:if condition="$show['approvethread']">
<li><label><input type="radio" name="do" value="approvethread" /> {vb:rawphrase approve_threads}</label></li>
<li><label><input type="radio" name="do" value="unapprovethread" /> {vb:rawphrase unapprove_threads}</label></li>
</vb:if>
<vb:if condition="$show['movethread']">
<li><label><input type="radio" name="do" value="stick" /> {vb:rawphrase stick_threads}</label></li>
<li><label><input type="radio" name="do" value="unstick" /> {vb:rawphrase unstick_threads}</label></li>
<li><label><input type="radio" name="do" value="movethread" /> {vb:rawphrase move_threads}&hellip;</label></li>
<li><label><input type="radio" name="do" value="mergethread" /> {vb:rawphrase merge_threads}&hellip;</label></li>
</vb:if>

{vb:raw template_hook.inlinemod_thread_bottom}

<li>&nbsp;</li>

<li><label><input type="radio" name="do" value="viewthread" /> {vb:rawphrase view_selected_threads}</label></li>
<li><label><input type="radio" name="do" value="clearthread" /> {vb:rawphrase clear_thread_list}</label></li>

<li class="formsubmit">
<input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" />
</li>

</ul>
</div>
</vb:if>
</div>

<input type="hidden" name="url" value="{vb:raw url}" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="forumid" value="{vb:raw forumid}" />
</form>
</div>
{vb:raw template_hook.forumdisplay_below_threadlist}
</vb:if>

<div id="below_threadlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_threadlist">
<vb:if condition="$show['newthreadlink']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>
<div class="threadpagenav<vb:if condition="!$pagenav AND !$forumjump"> nopagenav</vb:if>">
{vb:raw pagenav}
{vb:raw forumjump}
</div>
</div>

<div id="forum_info_options" class="forum_info block">
<vb:if condition="$show['moderators'] OR $show['activeusers']">
<div class="collapse">
<a class="collapse" id="collapse_forum_info" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
<h4 class="forumoptiontitle blockhead">{vb:rawphrase forum_information_and_options}</h4>
</div>
<div id="forum_info" class="forum_info_block blockbody formcontrols">
<vb:if condition="$show['moderators']">
<div id="forum_moderators" class="forum_info_subblock">
<h5>{vb:rawphrase moderators_of_this_forum}</h5>
<ul class="commalist">
<vb:each from="moderatorslist" value="row">
<li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
</vb:each>
</ul>
</div>
</vb:if>
<vb:if condition="$show['activeusers']">
<div id="forum_onlineusers" class="forum_info_subblock">
<h5>{vb:rawphrase users_browsing_this_forum}</h5>
<div>
<p>{vb:rawphrase there_are_currently_x_users_browsing_forum, {vb:raw totalonline}} ({vb:rawphrase x_members_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}})</p>
<ol class="commalist">
<vb:each from="activeusers" value="row">
<li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.invisiblemark}{vb:raw row.buddymark}{vb:raw row.comma}</li>
</vb:each>
</ol>
</div>
</div>
</vb:if>
</div>
</vb:if>