![]() |
Mystics,
This seems like a great hack but one question. To make it easier on everyone and since you already modified the code, would it not be easier to include the line numbers of the code that need to be replaced. showthread.php has 1924 lines of code and it can be a little taxing to say the least when looking for a single line of code, coupled with the fact that it would insure that the right code was modified which in turn would cut down on the amount of replies like,:smoke: "it does not work" or :smoke: "i can't find it" etc. etc. Keep up the excellent hacks. jackd showthread.php - line 1810 clientscript/vbulletin_textedit.js - lines 1730,1731,1732 includes/class_dm_threadpost.php - line 398 includes/functions_databuild.php - line 146 includes/functions_online.php - line 1624 |
A liitle help lease before I screw something up.
In the editpost template step 3 it states find this code- <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td> and add above, this code - <if condition="$show['threadprefix']"> <td>$threadprefixes </td> </if> Exactly where above does this code get added. The first thing above is the <tr> tag so I do not see it going there. Above that is another similar section of code... Is that to be replaced. tr> <if condition="$show['threadprefix']"> <td class="smallfont">$vbphrase[threadprefix]:</td> </if> <td class="smallfont" colspan="<if condition="$show['threadprefix']">2<else />3</if>">$vbphrase[title]:</td> </tr> <tr> <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td> I hope this makes sense but exactly where would this new line of code be added. Any help would be appreciated. jackd |
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
<tr> and <td> tag... this is the reason for my question.... |
Quote:
Code:
<if condition="$show['threadprefix']"> So in the end it's just: Code:
<tr> |
I have a question about the "Show Prefix in 'Last Post' column" feature.
In order to see prefixes tagged to topic titles in index.php you need the above option on but with this option on it passes the prefix over to the next newly created thread title. (As described in the option field) So if userA makes a thread with a [Information] prefix and then userB comes along and makes a new thread without a prefix the [Information] prefix gets tagged to this new thread even though the new thread may not be information. I suppose this could be bypassed by forcing members to use prefixes but that is not suitable for my forum. Is there anyway to have the prefix shown in the last post column on index.php but not get tagged to the next new thread created if it as no prefix? P.S Good work, Easy to install and works great. |
Quote:
|
Excellent addition, just what I was looking for. I hope this is carried on to future versions of vB.
|
Quote:
The Goodbye thread was created without the [Information] prefix, But because the last prefix used in the forum was [Information] its being attached to it. If you read the desciption of the "show prefix in last post column" option in the admincp it says: Quote:
The mods installed fine, Im 100% positive. EDIT: Just so you know, I can not replicate the problem on demand, Its appears to just start happening after a certain period of time. Turning the option on and off seems to fix it for a short while then it starts happening again. |
All times are GMT. The time now is 07:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|