The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Image Code - vBPicGallery
I know they have a support forum but I have not had a reply there and replies seem few and far between for mods..
I have vBPicgalley installed and working but would like an easy way for members to link to an image in the gallery in a post/thread.. I was thinking along the same was as you do with imageshack ( having the code in a box - see image ) Only one needed would be the code to embed it via BBCODE.. And to be at the bottom of the page. I have had a look at the code for the page that makes the image appear on vbpicgallery but my understanding of php is limited really.. Any information would be much apreciated.. Regards. **EDIT** Right then... Bit more info.. And a problem.. I have managed to get the boc with the URL of the image to appear by adding the following code into the vbpicgallery_popup template.. Code:
<tr> <td class="alt1" width="50%" align="right" ><div class="smallfont">Image Code:</div></td> <td class="alt2" width="50%" align="left"><div class="smallfont"><textarea cols="50" onmouseover="this.select()">http://www.mysite.com/vbpgimage.php?do=full&p=$id</textarea></div></td> </tr> Now I need to have [IMG] tag around the URL.. But when I add it to the code above and try and save the template I get this: Code:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\xampp\htdocs\includes\adminfunctions_template.php(3596) : eval()'d code on line 55 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. Anyone with a way around this? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|