![]() |
Only display Ribbon Comments in Postbit.
Currently when you mouseover a ribbon in the postbit, it shows the ribbon description, and then who donated it. How would I change it so that when you mouseover, you get only who gave the ribbon and any message associated with it?
|
You'll have to edit the plugin file:
plugins/vbplaza_postbit_imicons.php Find: Code:
$userinfo['ribbonsdisplay'] .= "<a href=\"vbplaza.php?$session[sessionurl]do=giveribbon&userid=" . $userinfo['userid'] . "\"><img src=\"images/ribbons/" . $ribbon['ribbonname'] . ".gif\" title=\"" . $ribbon['cause'] . " - " . $ribbon['username'] . "\" border=\"0\"></a> "; -CMX |
I changed the title part to this
Code:
title=\"" . $ribbon['message'] . "\" I grabbed that info from above on same page, for showing message reason on the profile page assuming it would work. Should it be something different? |
The only thing I could think of to try, is to try putting addslashes there.
Code:
title=\"" . addslashes($ribbon['message']) . "\" |
Nope still nothing "pops up" :\
|
Can u view the HTML source code and pasted here what it says, or send me to a thread on ur forums so I can view the html source?
-CMX |
Quote:
HTML Code:
<img src="images/ribbons/darkblue.gif" title="" border="0"> |
Because its not storing the message inside the users table.
Inside includes/functions_vbplaza.php... Find: Code:
// add this ribbon into the array Code:
// add this ribbon into the array -CMX |
nope still no go :confused:
|
After u do the edit, you have to rebuild all ribbon postbits from the Admin CP, then the $ribbon['message'] should be in the database.
-CMX |
yep I did that after every time I tried to make it work :(
|
Paste the vbp_ribbon field for one of ur members here after u have done the edit I said above and rebuilt the ribbon postbits.
I need to see if its at least saving into the database properly. -CMX |
All times are GMT. The time now is 03:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|