![]() |
I must be a complete noob because I cannot get this to work at all.. my big question is what template and where do you add $randpic???
|
Well, really, you can put it wherever you want the picture to show up.
In my case, I edited the header, and put the variables right under the logo. All you have to do is put the variable in where you want it. You can format it if you want, too. I have mine in a table like this: Code:
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> |
still ain't working... below is my header code...
where do i put the code you suggested? <!-- logo --> <a name="top"></a> <table border="2" bordercolor=#3E5C92 bgcolor=#738FBF width="$stylevar[outertablewidth]" cellpadding="2" cellspacing="2" align="center"> <tr> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
<!-- logo -->
<a name="top"></a> <table border="2" bordercolor=#3E5C92 bgcolor=#738FBF width="$stylevar[outertablewidth]" cellpadding="2" cellspacing="2" align="center"> <tr> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> $randpic <!-- content table --> $spacer_open |
still not working... i know i have my paths set correctly for the images but they are not showing up...
|
just figured it out... i didn't have the trailing front slash for the paths... thnx fellas...
|
Hi,
Sorry for this silly question, butÂ… where did you set vars (the path, etc.) ? $folder = $vbulletin->options['randimg_path']; $imgurl = $vbulletin->options['randimg_url']; $exts = $vbulletin->options['randimg_types']; |
can't seem to get this working for me, no matter where i put the $randpic it still doesn't show. I've tried all kind of different paths and it still hasn't worked.
|
make sure there are no trailing slashes on your paths.... that's what screwed me up...
Quote:
|
Quote:
|
All times are GMT. The time now is 11:50 AM. |
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:
|