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 |
#82
|
|||
|
|||
The features I would like to see would be:
Admin Edit/Remove/Change Post Prefix Add in usergroups or users so if users abuse this feature admin can block them from using it. A way to search for only a certain prefix. like go to search and search for prefix, maybe even search for prefix by user. Thats pretty much all I can think of but they seem very powerful to me and the needs I have for this script. It has a lot to do with my site and the search alone would make this un-stoppable. |
#83
|
||||
|
||||
You can do the 'admin editing' in phpMyAdmin maybe, so it's not too much of a priority I'd say. Not sure about this, though.
Making prefixes searchable would require them to have their own column inside a table, and as of right now I don't remember if this hack makes a column already, or that it's only a virtual addition to a thread upon creation. I'll look at that once I install this on my testboard.. |
#84
|
|||
|
|||
Quote:
|
#85
|
||||
|
||||
Don't be expecting too much though. I'm totally new to PHP and MySQL and all and I am just learning everything now. I'm digging into the vBulletin system as useful example-material, as well as simply hacking it to make my own board 1337er and 1337er
But anyhow, I'll give a look at the search page and how it processes searches, and maybe I can add, somehow, a search for the prefix column IF, and only if, the hack makes a column for them. |
#86
|
||||
|
||||
Okay this is fun. I installed it on my test board, followed the install instructions exactly, the admin panel part worked, the drop down prefix list appeared on the new thread pages...
but no matter how I tried to enter some options in the AP, the options Would Not Show Up in the drop-down menu! BLAH! also, I haven't quite figured out how to make it work for a single forum. Sooo, I'm gonna request the hack they implemented on this board for the FOURTH time from FireFly/Sinecure! |
#87
|
|||
|
|||
Quote:
|
#88
|
||||
|
||||
https://vborg.vbsupport.ru/showthrea...threadid=33009
Bah I have no idea why it doesn't work for me. I even did the queries correctly, with null values and they appeared neatly after the highest value already in it, no problem. But still, I can't get the drop-down menu to show anything other than "Default (none)" |
#89
|
|||
|
|||
Where the hell is the link to dload?
|
#90
|
|||
|
|||
It is on this page...
https://vborg.vbsupport.ru/showthread.php?postid=200613 (hopefully that is right, page 4 for me) James |
#91
|
||||
|
||||
Do I need to add ": $posttype" to one of my templates as RobAC suggested?
Edit: Scratch that - I have it in my newthread template. I'm getting the options in the admin cp but I get no drop down box when I try to make a new thread. I'm not sure if this will be helpful to anyone trying to figure this out, but if I view the source when I go to new thread, it doesn't seem to be accessing the posttype template. Do I maybe need to have something more that $posttyle in the newthread template? Or do I maybe have something wrong in the newpost_posttype template itself? If I go to newpost_posttype, edit, preview I get a drop down box, but it only gives me the default option, not any of the custom prefixes I've added in the admin cp. Not sure if any of that is helpful to anyone, but I'd sure like to get this working Edit again lol: Okay, new weird thing happening. When I post a new thread, there's no drop down box, but when I post as usual, what I've typed as the message become the prefix. So if my subject is: Hi! and message is: just checking things out What is displayed in the forum is: just checking things out: Hi! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|