Version: 1.00, by FleaBag
Developer Last Online: Jun 2020
Version: 2.3.x
Rating:
Released: 06-20-2002
Last Update: Never
Installs: 7
No support by the author.
Well here it is, my 2nd hack - Hyphen Hack! It only took about half an hour to make, it's very simple but very useful [well, at least I think it is ].
What's it do?
If you want to replace the hyphen [ the - symbol ] in the <title> tag of your vBulletin styles [the part that appears at the top of your browser, for example on the forumhome it's "YourForum - powered by vBulletin"], with other characters such as for example :: [which is what my vB uses] then this hack may be useful for you! Normally, doing this is a long process, you have to edit 49 [that's how many I counted, I might have missed a couple] templates, and if you changed your mind or revamped your site, you'd have to go and do them all again. This hack lets you edit them all by using 1 template.
First of all you need to have vBHacker uploaded to your admin folder. Once you have that, upload the hyphenhack.hack.php file to your admin folder, and install it by using vBHacker.
That's all there is to it!
NOTE: If you have edited your <title> tags previously, some parts of this hack my fail to install automatically, and you will have to add the $hyphenhack variable in replacement of the - character yourself.
How do I use it?
Your hyphen replacement is stored in a custom template called 'hyphenhack'. By default, your hyphen will be replaced by ::, to change this, edit your hyphenhack template [CP > Templates > Modify] and put in whatever characters you like. You can also add the $hyphenhack variable to any template in which you would like to use the hyphen replacement.
Anything else?
Support is limited to this thread.
Thanks to everyone at vBulletin.org who have helped me with my hacking to date, especially FireFly who steps in whenever I mess things up!
If you install this hack, please comment and click Install.
Thanks very much, enjoy! Happy hacking!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by GamerForums Normally, doing this is a long process, you have to edit 49 [that's how many I counted, I might have missed a couple]
There is 52 specifically, hehe. Aswell, if you wanted you could go to the admin cp, templates -> search.. and fill it in to replace the string "$bbtitle -" with "$bbtitle <your dash here>" without quotes of course, then click find/replace. That is, if you dont have vbhacker installed.
I dunno if its just me, but I wouldnt ever let a script do the replacing of my code. I dont trust it not to screw up something I alredy modified, hehe <^_^;;;
Any ideas which ones I missed? Ya know, I NEVER ever noticed that Search function before. But anyway, you're right - you can do it like that, but with this people don't have to risk messing something up, they can change it by changing one template, and they can add it to any other area of their site. I used to think the same about vBHacker, then I found a hack that only had a hack.php file - tried it, and never looked back since!