Version: 1.00, by Zachery
Developer Last Online: May 2017
Version: Unknown
Rating:
Released: 03-28-2004
Last Update: Never
Installs: 3
No support by the author.
This will super simple mod will allow your users to have either a new styled vB3 postbit or the old vB2 postbit with out using phpinclude_start OR hacking
Step 1
Add a new profile field that is a single selction menu
Title: Postbit Style
Description: How all postbits will appear to you.
Options:
Default
Legacy
OR
Legacy
Default
(depending on WHICH you want to be default)
Default: Yes but not blank.
Now, Im going to assume you have NOT modifed your postbit template much and give you 2 predone full template bits, ill also give you 2 non predone bits that you must fill in for your self.
You need to chage the top line of any of the text files to make sure you have the number of the profile field replaced for X.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Might want to add, if i understand this correctly, any future mods to postbit where you would modify postbit and postbit_legacy would now be done 2 times to each section of this new postbit: once in the default section, then again in the legacy section. the postbit_legacy would be ignored completely.
worked like a charm, took some figureing out tho, guys need to remeber some of us are really dlow witted ppl ;p
here is a quick explination of how to do it for the other slow folks around here
open the admin cp and scroll down to edit profile fields, follow th einstructions in the 1st post on that, look at it when ur done and remeber what it says next to feild (will prolly say field5)
go edit ur templates, ur going to replace 2 templates, the "postbit" template (replace that with the default.txt file) and the postbit_legacy template (replace with the legacy.txt file
thats it, pretty easy
-edit-
how would i go about making the postbit width (avatar side) noot be so wide? i dont need it that wide (legacy)
worked fine on my test forum, now on my main one when i install it i get this error
The following error occurred when attempting to evaluate this template: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/virtual/site1/fst/var/www/html/forums/includes/adminfunctions_template.php(3037) : eval()'d code on line 5
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
i dont understand, i didnt hack the postbit at all so i just used the standard, and i changed the feildX, what else besides making the profile field am i suppose to do?
one thing that is diffrent the filed is 7, it was 5 on the other, the test forum i have is just a plain install, this one is a upgrade from vb2, i think maybe the other feild is a hack, but its not listed
any idea, i at one point had the hack profile custom feild installed