Quote:
Originally Posted by magnus
At the moment, you would have to edit vbgarage.php and change the parse_bbcode2(); options. I will, however, be implementing AdminCP options for these. If you want to go ahead and change it now, to allow [IMG] tags simply perform the following edit:
In vbgarage.php:
FIND:
PHP Code:
$data['text'] = parse_bbcode2($data['text'],'0','0','1','1');
REPLACE with:
PHP Code:
$data['text'] = parse_bbcode2($data['text'],'0','1','1','1');
As for Admin ability to edit, yes, that will included.
|
Your support for this hack is beyond compare. I think I will have to paypal another donation to the cause!
With that said... I sure do not mean to be a PITA, but.. Any ideas as to why the code that inserted into the POSTBIT_LEGACY and USERINFO templates that will create a link to the member's Photopost gallery will work fine in the postbit and user profile but nothing shows up or happens with the SHOWGARAGE when I insert the eaxct same code into that template?
This is how I am doing it in POSTBIT_LEGACY:
(my board url edited for example)
Code:
<!-- added gallery code here --><div class="smallfont"><br><br><a href="http://www.yourwebsite.com/vbulletin/photopost/showgallery.php?cat=500&ppuser=$userinfo[userid]&thumb=1"><smallfont>View my photo gallery</smallfont></a><br>
<!-- end gallery code-->
I would like it so that when a garage is viewed, there is a link generated to the user's photopost just like we have on the forums. Right now we are doing this manually.