![]() |
vBGarage Latest Uploads on ForumHome for 4.x.x
This is to display the five latest uploaded pictures to vBG on forumhome just like in the list on the vBGarage.php page.
Backup your database and files before doing any hack work! In Forumhome index.php Find ... PHP Code:
PHP Code:
PHP Code:
Find... PHP Code:
PHP Code:
Find... HTML Code:
$navbar HTML Code:
<!-- Begin vBG Photos --> |
Thanks for this hack !
But can you tell me how add the five latest uploaded pictures on a portal ? (vB CMPS for exemple) ^^ |
Quote:
Maybe this thread will help. The info is about 5 or so posts down. https://vborg.vbsupport.ru/showthread.php?t=75431 |
This is an excellent idea and I will probably add it to my own site. Is there any way though to randomly pick the five images from the garage rather than the last five...so that different pictures will show on refresh or new visit to the page?
Don |
Quote:
PHP Code:
Happy hacking! ;) |
Thanks. All done at http://www.venturerider.org/forum
|
Damn, now we have to give that guy credit or something! ;)
|
Great! :)
But how i add an collapse, to open and close the pictures? |
Quote:
Example: Warn.php?&do=ViewWarnings&id=1/ Input isnt escaped before being put into the sql query. Seriously, what the ****. A premium modification that doesn't even check the input :o I made a Fix: open warn.php find: Code:
// ####################################################################### Below that insert: Code:
//SQL-safe modification |
Quote:
There is no warn.php in any of the vbgarage releases. Can you expain please? |
Not only that...but I don't know of a warn.php in any Vbulletin files either.
Don |
Quote:
|
Quote:
|
Quote:
HTML Code:
<!-- Begin vBGarage Collapsable Photos --> |
Thanks! :)
http://www.gamesbay.de/index.php? But after i installed this mod, when someone is on the "index.php" site, on the "Who is online" the user will be shown in the garage, why? Any way to fix this? |
Quote:
I have a fix for it I'm using. However, I aint so sure it's perfect. If I get a minute I may open my functions_online.php and post what I did, however, it's new and I won't support it. I'm only one guy and my time is really limited lately. |
Quote:
thanks *waitforthefix* |
I took a quick look. I had to mod vbgarage.php and functions_online.php, and the new template for forumhome.
I did this for vbgarage 4.1.0 beta. I don't have 4.0.x anymore. I may just do the release and let 4.0.x die. As I said, my time is limited and I can't support multiple versions. Folks with 4.0.x will have to rely on each other at that point or upgrade. Even that will be more support then I can handle now though, so who knows what I should do? |
I use 4.1.0 i dont use 4.0.x ^^
|
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
HTML Code:
<td class="alt2" colspan="1" align="center"><a href="$vboptions[bburl]/vbgarage.php?$session[sessionurl]do=view&id=$latest[userid]&garage=$latest[id]"><img src="$vboptions[bburl]/vbgarage.php?do=<if condition="THIS_SCRIPT == 'index'">h</if>thumb&id=$latest[vbgarageid]" border="0" alt="Photos" /></a></td> |
Perfect! Thanks :)
|
Hmm... I am trying to make the changes listed in the installation package, and everything was going great until I got to:
In NAVBAR: Find: <td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td> I have looked and looked, and I do not see this in any Navbar template. I am using vb vers 3.0.7, and have a custom skin installed from extremepixals. I am sure I am doing something wrong, I just don't know what it is! Darius |
You're not using stock code apparently. You'll have to use your judgement on placement.
|
Ok, got that part fixed, but now I keep getting the error 'Please complete all the fields. Press the back button, correct the problem then try again.' I have filled in each of the fields, but to no avail.
Anyone have any idea's? |
I did the random garage image on the main page and it works fine.
Thanks http://www.shadowriders.net |
|
Look good. I like that color. ;)
|
All times are GMT. The time now is 02:15 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:
|