![]() |
/imagehosting Remove the forword slash if you added it.
Thanks dholt that worked |
Hello
I am web site www.forumsitesi.info/forum > CMPS portal setup = ok But This page index how vbimage random to show? |
Open Template :
adv_portal_randomprofile clear in all and paste : Code : <tr> <td class="alt2" valign="top"> <table> <tr valign="top"> <td class="alt2" valign="top" align="center"> <img src="$profilepiclink" alt="$vbphrase[vbaCmps_randomprofile]" border="0" /></td> </tr> <tr valign="top"> <td class="alt2" valign="top"> <table> <tr> <td class="smallfont"> <div> <img src="$stylevar[imgdir_misc]/arrow.gif" alt="" class="inlineimg" /> $vbphrase[vbaCmps_randomusername] </div> </td> <td> : </td> <td class="smallfont"> $randomusername </td> </tr> <tr> <td class="smallfont"> <div> <img src="$stylevar[imgdir_misc]/arrow.gif" alt="" class="inlineimg" /> $vbphrase[vbaCmps_randomtitle] </div> </td> <td> : </td> <td class="smallfont"> $randomusernametitle </td> </tr> <tr> <td class="smallfont"> <div> <img src="$stylevar[imgdir_misc]/arrow.gif" alt="" class="inlineimg" /> $vbphrase[vbaCmps_randomjoindate] </div> </td> <td> : </td> <td class="smallfont"> $randomusernamejoindate </td> </tr> </table> </td> </tr> </table> </td> </tr> |
Sorry mistake post :(
|
Suggestion:
I would like there to be comments and rating added to the images when you view them in 'full view' only. This would be great! IMPROVEMENT: I have edited the imagebit somewhat. In the original script... all users always see that bbcode, permissions, and other stuff that for the user who owns the photos may be useful, but for other users it just seems to clutter up the photo gallery page in my opinion. I was wanting something more like Facebook... where if they go to view their friend's gallery... it simply shows a gallery page with a bunch of thumbnails only... no details or stuff underneath. However, I didn't want to remove this stuff, so what I did was edited the template and added an extra condition so that: 1) When viewing photos, if the photos belong to the user that is logged in... they see all that extra bbcode and permission stuff underneath the photo. 2) For OTHER users viewing photos that belong to their friends... they will just see the gallery page with only the photo thumbnails listed. 3) In either case... clicking the thumbnail will open up the main view page and will have the large photo, and will have all the bbcode stuff showing.. but only when the image is viewed in the fullscreen size page. CODE CHANGES: OPEN template called "vbimghost_imgbits" Delete everything in that template, and replace it with this: Code:
<td> VIEW THIS IN ACTION: http://www.undrgrads.com/vbimghost.p...iewimages&id=3 |
just a heads up, you use mysql_num_rows() in your script, which causes breakage when using it on a forum that uses msqli, changing every case of this command to mysqli_num_rows() fixed it on my forum... i dont know if theres a better way other then to manualy edit it tho, ill leave that to you ranma2k
edit: also you use mysql_fetch_array() which has same problem and solution |
i've modified the code to automatically use the correct method, attached the fixed copy, can be used on any forum since i've added in the conditional, heres a example of that i've added
PHP Code:
|
Quote:
Quote:
|
Quote:
Code:
<td> |
Quote:
|
All times are GMT. The time now is 08:07 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:
|