Author Topic: [Mod] Random Pic in vBulletin - Update: 25.01.2008  (Read 57798 times)

0 Members and 1 Guest are viewing this topic.

Offline X-Fan

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • http://www.comixfan.com/xfan/
[Mod] Random Pic in vBulletin
« Reply #15 on: October 04, 2002, 03:32:24 AM »
Quote from: Nicky
eric,

i don't know, just try it...


Tried it, and it puts it in a table above the header.
Eric J. Moreels
ComiX-Fan Editor-in-Chief
e-mail: webmaster@comixfan.cjb.net
Web: http://www.comixfan.com/xfan
AIM: XFan2k

Offline trnggiang

  • Pre-Newbie
  • Posts: 2
    • View Profile
[Mod] Random Pic in vBulletin
« Reply #16 on: December 06, 2002, 06:21:36 AM »
anyone successfully integrate random pic with the vbp?   I can't get it to work. :(
TG

Offline X-Fan

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • http://www.comixfan.com/xfan/
[Mod] Random Pic in vBulletin
« Reply #17 on: December 06, 2002, 07:53:43 AM »
Quote from: trnggiang
anyone successfully integrate random pic with the vbp?   I can't get it to work. :(


I switched from vBPortals to vBHome (from TeckWizards.com), which does almost everything vBP does but uses far less server resources, and managed to get the random pic working fine first go!
Eric J. Moreels
ComiX-Fan Editor-in-Chief
e-mail: webmaster@comixfan.cjb.net
Web: http://www.comixfan.com/xfan
AIM: XFan2k

Offline DéDé

  • Pre-Newbie
  • Posts: 1
    • View Profile
[Mod] Random Pic in vBulletin
« Reply #18 on: December 15, 2002, 12:06:12 PM »
Bonjour a tous sorry je suis francais  
 j ai bricoler un block pour vbp (beta3 2.1) qui fonctionne  
 je vous le donne donc

http://dedelamalice.free.fr/random.zip

voila merci a vous

Offline TexasOutdoors

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • http://www.texasoutdoors.us
Error
« Reply #19 on: February 09, 2003, 01:52:41 AM »
I get a database error while using the random.php file.

Invalid SQL: SELECT COUNT(*) AS total_images
        FROM vbp_images
        LEFT JOIN vbp_categories ON (vbp_images.cat_id=vbp_categories.cat_id)
        WHERE vbp_images.image_active=1
        AND vbp_categories.auth_viewcat=0
        AND vbp_categories.auth_viewimage=0
mysql error: Table 'texasout_dbforum.vbp_images' doesn't exist

mysql error number: 1146


Any ideas on this?

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
[Mod] Random Pic in vBulletin
« Reply #20 on: April 05, 2003, 10:54:28 AM »
(sorry for ma english)
i want to use this mod too

but i use invisions board.

maybe anyone hier can help me?


boti

Offline frederic

  • Pre-Newbie
  • Posts: 2
    • View Profile
NEW Pic in vBulletin
« Reply #21 on: May 28, 2003, 09:43:50 AM »
how to set some randompic dont show the same pic?

Offline midnightwalker

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #22 on: April 28, 2005, 08:40:39 AM »
Hi,

But how can I display random images in my VbAdvanced CMPS Portal page?? I Tried but it didn't work

Offline feckra

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #23 on: August 02, 2005, 04:13:34 AM »
what about VB 3.0.7

Offline Sweets

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #24 on: November 11, 2006, 01:19:10 PM »
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
Code: [Select]
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 ?  :cry:  :(to work in my  forum

Offline Cristi_XP

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #25 on: March 10, 2007, 04:39:33 PM »
Where in index.php should we write the code?coz i cannot make it work...
What should we put in foumhome template? only $randompic?
Thanx!

Offline schnubbie

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #26 on: June 26, 2007, 09:10:09 AM »
Frage:
Quote
1.
open / öffne
global.php (not / nicht admin/global.php)

global.php in 4images oder global.php in Vbulletin?

ich finde in beiden nichts

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #27 on: December 29, 2007, 07:58:49 PM »
@Nicky

1- i cannot download the txt file coz u site is blocked here in my country

2- im running vb 3.6.8 and 1.7.4

so is ur mod works with these versions

if so

Please, send me the txt to r9t@msn.com

if cannot plz attach it here

greats

Mr_LovaLove
English Please :@

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #28 on: December 29, 2007, 08:36:01 PM »
hi Mr_LovaLove,

file attached in my 1st post..

Quote
1- i cannot download the txt file coz u site is blocked here in my country

yeah, at my companies proxy too ;)
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [Mod] Random Pic in vBulletin
« Reply #29 on: January 22, 2008, 07:33:25 PM »
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

yes i got like this msg also

and im using 3.6.8 vb
4image 1.7.4

English Please :@