Add friend button on postbit
Intro:
just to give a quick summery about this mod. This is a plugin that can show add friend button in the post where users can take advantage of requesting friendships with other users without going to their profile pages. I found most of the code in here : Spoiler (click to open)
Quote by Yellow Slider
$postuserinfo = fetch_userinfo($post['userid'], 128); 128 what is?
Close
so it is not actually mine, but was trying around how to make a use of it. The main Thanks goes to the coder: Yellow Slider installation: 1- create a new plugin in your Adin cp by going to Plugins & Products --> add new plugin 2- use the following settings: Product ---> vbulletin Hook Location --> postbit_displate_complete Title ---> "write your own words or whatsoever you like" Execution Order --> 5 Plugin PHP Code --> insert the following code there: PHP Code:
$postuserinfo = fetch_userinfo($post['userid'], 128);
now you just need to add css to your additional.css: PHP Code:
.addimg{margin:-2px;}
ScreenShot: Known Bugs: The only issue with this plugin is that the button shows up to the logged in user as well in his own post which shouldn't. Instead, it is supposed to be hidden. if a fix is found, I will post it here. Please mark this mod as installed if you used it Nominate MOTM if you LOVE it! Good luck for all!! Download No files for download. |
Similar Mods
Show Thread Enhancements Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy | vBulletin 3.8 Template Modifications |