used / benutzt wurde 4images 1.7 & vBulletin 2.2.7
E:
NOTE: this mod will work ONLY if your 4images mysql tables are in SAME DATABASE like vBulletin.
D:
ACHTUNG: dieser mod funktioniert NUR wenn 4images mysql tabellen in GLEICHER DATENBANK sind wie die von vBulletin.
1.
open / öffne
global.php (not / nicht admin/global.php)
search / suche
checkipban();
$logincode=makelogincode();
add after / nachdem füge dies
http://www.nicky.net/4images/random_for_VB.txt
in mod self change if necessery / im mod selbst ändere wenn notwendig
// Set here the URL to your 4images Gallery. WITH trailing slash!
// Set here your THUMBNAIL directory. Normally no need to change. WITHOUT trailing slash!
// In following queries CHANGE 4images table PREFIX if it doesn't match (Standard "4images_")!
now you can use $randompic in every VB template
jetzt kannst du $randompic in jedem VB template benützen
2.
if you want to have the random pic only on your vB main page, then put the code into index.php & template forumhome. (don't use it in global.php!)
wennst willst das zufallsbild nur auf der vB startseite erscheint, dann füge den code nur in der index.php & template forumhome. (benutze es dann nicht in der global.php!)
that's it.... have fun
das ist alles.... viel spass
I tried random pic in vba version 2.2.1 with vbulletin 3.6.3 and 4images 1.7.4 and it did not work , it gave me the next error :
Fatal error: Call to a member function on a non-object in /usr/home/dom005/domains/sweetss.us/public_html/forum/global.php on line 781
Any update of this mod ?

:(to work in my forum