The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Hack: Custom Post Prefixes
Version of vB: 2.2.0, although may work on earlier versions but not tested Current Version: 1.0.0 Description: This hack allows you to add custom prefixes to post, like "Poll: " and "Sticky: ", only custom ones editable in the control panel. All feedback is appreciated, and everything you need is in the attached file. NOTE: If you downloaded this prior to 5:10 CT please re-download it, I fixed something in the directions. Version 1.0.0 released, go here for details. Show Your Support
|
Благодарность от: | ||
Comments |
#62
|
|||
|
|||
The date of the files in the ZIP is 11/4/01 10:50 am. That indicates to me that nothing has been changed in the zip file and in looking at the upgrade and full installation pages, they look exactly the same as in the previous download zip file.
|
#63
|
|||
|
|||
Quote:
|
#64
|
||||
|
||||
Two minor thoughts...
#1... Yes, the latest zip is kinda confusing, only because the filenames say 1.0.0 and upgrade 1.0.0 from 0.9.9... which is all good.... except inside the 1.0.0 from scratch install.txt file... the version still says 0.9.9 #2... I myself had 2.0.3 and the stars hack installed, and upgraded to 2.2.0... reset all templates, and started with a fresh set of .php files, keeping the old DB.. the DB query: INSERT INTO setting VALUES ( '171', is what conflicts with the stars hack, cuz I guess (don't know much about mysql) it uses that same table/field whatever.... Now, I don't have the stars hack reinstalled, nor do I want to... But I would REALLY like this hack, so can anyone produce a db query I can run that would clear out that data, and allow for these to be ran???/ plz, thx, and more thx, to come! Excellent hack!! excellent instructions... Worth while project! much appreciated. |
#65
|
||||
|
||||
Nevermind!!!!
I find the work around!!!! For those who are interested.... In the Hack instructions.... check out the first TWO db queries to run.... See how it wants to create the new entries in settings line 171, and 172 respectively ... Code:
INSERT INTO setting VALUES ( '171' ....... & INSERT INTO setting VALUES ( '172' ........ So... what to do??? SIMPLE!!! Open up PhpAdmin... navigate to your db... on the left navigation side.... find the Browse icon next to 'setting' it'll display something like Showing records 0 - 30 (175 total) Show XX number of records, and start @ XX Tell it to show you 30 records starting from 160.... Now look in the settingid column, for the LAST record you have.... it maybe be 170, give or take a few.... NOW.... Just modify the code instructions for the 1st two queries ... and change the code to add these new values on the NEXT available line.. i.e. if your settings ends @ 174... then change the code like so: Code:
INSERT INTO setting VALUES ( '175' ....... & INSERT INTO setting VALUES ( '176' ........ So here's that more THANKS!!!! for a great piece of code well done! [quick questions] a: can these code hack instructions be modified to add those values in the next available line entry? b: or can someone come up with that simple query to check how many values are currently in the setting table, so we can identify that before we try to create new tables on top of existing ones. c: just curious if gaps in the values matter, so if someone doesn't want to look how many that have, can they use... Code:
INSERT INTO setting VALUES ( '998' ....... & INSERT INTO setting VALUES ( '999' ........ [quick recommendations] It would be nice to have the ability to edit an existing post, and give it one of the custom prefix's.. |
#66
|
|||
|
|||
what about in the 'editpost' part? so we have the option in 'edit post'?
|
#67
|
|||
|
|||
Quote:
|
#68
|
|||
|
|||
where can i get this hack ?
|
#69
|
|||
|
|||
I also have it working...
|
#70
|
|||
|
|||
here is a picture of the admin (I have changed my cp.css file, so the colors are different then original)
|
#71
|
|||
|
|||
here is a picture of posting a new thread...with a prefix
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|