|
[AJAX] Drop Down Message Display / Selector
This modification is in the archives.
File Edits: 0
Template Edits: 2 Difficulty: Easy Description This hack adds a drop down menu underneath your navbar. When someone selects an option it'll load a table with the contents you put in it (without reloading the page). You can use HTML when you add a new message. I have added a new hook for the use of replacing text. I have hardcoded two replacements. [username] - This will display the username of the user browsing [userid] - This will display the userid of the user browsing. F.A.Q. Q: How can I add my own replacements? A: Add a new plugin under the hook "ajax_drop_menu_start". In the Plugin PHP code use this format: $cm['text'] = str_replace("find", "replace", $cm['text']); Example: PHP Code:
$cm['text'] = str_replace("[username]", $vbulletin->userinfo['username'], $cm['text']);
A: Yes. You can use it for almost anything. If you'd like to query the database for the lastest 5 threads and display them in the drop down menu you can. On the demo you'll see a drop down menu with the text "Select Message". http://xenweb.net/forums/index.php Download
This modification is archived, downloads are still allowed. |
|||||||||
Similar Mods
| Thread Display For Nonregistered Users (Limit Characters, Display Message) 2.0.5 | vBulletin 3.5 Add-ons |
| [AJAX] Drop Down Message Display / Selector | vBulletin 3.5 Add-ons |