Version: 1.00, by Michael Morris
Developer Last Online: Jun 2009
Version: 3.0.3
Rating:
Released: 12-15-2004
Last Update: Never
Installs: 34
No support by the author.
This hack is part of Lesson #6 of my Using the PHPINCLUDE_START template" tutorial thread. It is presented here individually. While techinically a user feature, it is put here with mini-mods since it requires no code edits. Instead you have 2 template edits: navbar and phpinclude_start. You must also add a user profile field.
For a more complete explaination of the code please visit the tutorial thread.
AND NOW THE HACK...
To begin create a user profile field that is multiple text lines and has a character limit of at least 2000. Note the user profile field # the system assigns to the new field - you'll need it below.
Once you do that crack into your navbar and look for this code:
HTML Code:
<!-- nav buttons bar --><div align="center"><table class="thead" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr align="center"><if condition="$show['popups']">
You will need to plug the correct user profile field # into the spot occupied by "fieldX" above. So if your new profile field created above was field #9 you'd refer to $bbuserinfo['field9']
And with that you're done. Enjoy.
Compatibility Note
If you are running a version of vbulletin prior to version 3.0.3 you'll need to run a database query in order to have field lengths longer than 250 characters. This query is:
ALTER TABLE userfield MODIFY COLUMN fieldX TEXT
You'll need to change fieldX to the field# appropriate to your forums.
I tried for awhile to get this to work, but was unsuccessful. I'd love it if someone would port this to 3.5. If they could fix the problem with parsing dynamic url's as well, then that would be even more swell.
I'm sorry for the lateness in my reply, I've been tied up as of late. I'm currently working on a boards conversion for a major client but as soon as that is done I'll start doing some hack ports, probably starting with this one.
The problem:
When inserting links with the & character (post link for example) and then visit that page from within the quick links menu it brings you there. If you visit that link again, that particular post shows your "my links" links in the post area instead of the original post content (edit, save post fixes this until you visit the my links link again). I think it could be omitted by parsing the & character differently perhaps?
The request:
Could you add a javascript to each post (thread) so users can click it to add that link to their my links menu?
The content of a post is replaced by the mylinks url's if that post appears in your mylinks due to the bbcodeparse. It's due the & character which get's parsed weirdly?
Please, any help?
I partially prevented that from happening by replacing & with %26 (ascii), but that's not the best solution......