The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Category / Prefix Hack Details »» | |||||||||||||||||||||||||
Thread Category / Prefix Hack
Version: 1.3.7 vBulletin Version: 3.0.7 Developer: Mystics (www.vbulletin-germany.com) Hack-Language: English & German & French (thanks to ReadWrite) Install-difficulty: Medium File-edits: 19 Template-edits: 16 Brief Description of the Hack With this hack it is possible to assign a category/prefix to a thread. To do this you are able to select an appropriate category from a list beside the title while posting a new thread - for example 'Help', 'Problem', 'Search' etc. The categories displayed in this list may be defined by a moderator for each of his moderated forums (Forum Tools -> Manage Categories); of course an administrator is allowed to do this for every forum. Features
See attachments. Version-History 1.3.7 (02-22-2005 - 09:00 pm)
Upload the new threadcategory.php as soon as possible!1.2.1 (02-14-2004 - 02:15 pm)
Tested for version: 3.0.0 RC 3 (and above). Note: If you have already used the vBulletin 2 version of this hack (only available in german) and the categories are still stored in the vB3 database, you may convert them for the vB3 version. You will see a note to that in step 2 of the hack installation. Update hack
1. Files that need to be edited:
If the hack doesn't work correct after installation, please verify all modifications you have made within the files and the templates. Be sure you have uploaded all edited and new files. The hack was tested extensive and will function properly if installed correct. Thanks to ReadWrite for his french translation. Have fun with the hack. Please click Install if you have installed it Show Your Support
|
Благодарность от: | ||
Comments |
#32
|
|||
|
|||
Quote:
|
#33
|
||||
|
||||
Quote:
But it's also possible you haven't edited the FORUMDISPLAY template correct...the part should look like this: Code:
<if condition="$show['addmoderator']"> <div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div> </if> <if condition="$foruminfo['allowcategories']"> <div><label for="fa_cat"><input type="radio" name="do" id="fa_cat" value="showcategory" />$vbphrase[manage_threadcategory]</label></div> </if> You can send me an admin acc if I should check it in your forum. |
#34
|
|||
|
|||
Thanks. I somehow got the code above instead of under, so it works now.
|
#35
|
||||
|
||||
This is one seriously sweet-ass hack. I've been up all night, so I'll install it when I wake tonight LOL. Thank you.
|
#36
|
||||
|
||||
New version released:
v1.3
Please upload the new threadcategory.php as soon as possible! |
#37
|
|||
|
|||
Great hack
Took ages to install as I have 7 main template sets, the ctrl and V keys are now worn out, was well worth it though |
#38
|
||||
|
||||
This looks to be a stunning hack
Great job Mystics I will test this out on my offline boards, but sadly I don't really have any use for this on my own boards - However: I shall click install, and install it sometime next week anyway, just for the hell of it Satan |
#39
|
||||
|
||||
I have a problem. I installed this hack.. which I love btw.. however I'm getting a display error on in the forums area.. when I staffer/user deletes a thread the deleted information is showing up all funny. (see attachement)
Anyone know how to fix this? or where to look? I know it's got something to do with table span.. etc.. I think I just need to add a cell to account for the category cell and it should be fine.. Aceman UPDATE: I have fixed the visual problem. This is how I did it. EDIT TEMPLATE: threadbit_deleted Code:
<tr> <td class="alt1"><img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" alt="" /></td> <if condition="$show['threadicons']"> <td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else /> </if></td> </if> <!-- Accounting for Category Hack --> <if condition="$show['threadcategories'] == 2"> <td class="alt1Active" align="$categoryalign" nowrap="nowrap"><if condition="$thread['category']">$categorymarkup[0]$thread[category]$categorymarkup[1]</if></td> </if> <!-- Accounting for Category Hack END --> <td class="alt1"> <div> <if condition="$show['viewthread']"><span style="float:$stylevar[right]" class="smallfont"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]">$vbphrase[view]</a></span></if> $thread[typeprefix] <if condition="$show['threadtitle']"><em>$thread[threadtitle]</em></if> </div> <div class="smallfont"> <if condition="$show['managethread']"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&t=$thread[threadid]">$vbphrase[manage]</a></span></if> <if condition="$show['guestuser']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span> </if> </div> </td> <td class="alt2" colspan="3" align="center"> <div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$thread[del_userid]" 2="$thread[del_username]">$vbphrase[thread_deleted_by_x]</phrase></div> <if condition="$show['deletereason']"> <div class="smallfont">$vbphrase[reason]: <em>$thread[del_reason]</em></div> </if> </td> </tr> |
#40
|
||||
|
||||
Excellent Mystics, By far the most complex hack (with reagards to the sheer number of file/template edits) I've ever installed I think, but aside from one minor mistake, which I spotted myself - it went like a dream - that's got to be thanks to your outstanding instructions.
[high]* trilOByte clicks install. [/high] I'm just dreading doing it over when vB3 goes gold. |
#41
|
||||
|
||||
One question, is it possible to specify different colours on a "per category" basis, rather than for all of them?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|