Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Photopost "gallery" clickable icon in postbit(_legacy) and/or profiles. Details »
Photopost "gallery" clickable icon in postbit(_legacy) and/or profiles.
Mod Version: 1.00, by mini2 (Member) mini2 is offline
Developer Last Online: Oct 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (2 votes - 4.50 average) Installs: 33
Released: 02 Apr 2006 Last Update: 02 Apr 2006 Downloads: 99
Not Supported  

Gone

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[release] Adding "clickable" MSN Messenger link to postbit Xbox vBulletin 2.x Template Modifications 18 17 Sep 2003 14:54
Icon on postbit to "Add user to ignore list" Reeve of shinra vBulletin 2.x Full Releases 8 16 Jun 2002 18:28

Comments
  #2  
Old 02 Apr 2006, 11:35
Doha Services Doha Services is offline
 
Join Date: Mar 2006
Real name: Essa AL-Mohannadi
Nice
Reply With Quote
  #3  
Old 04 Apr 2006, 03:56
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Will test tomorrow
Reply With Quote
  #4  
Old 05 Apr 2006, 02:58
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Real name: Ant
cheers, lovely mod

-b6
Reply With Quote
  #5  
Old 06 Apr 2006, 03:13
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Real name: Ant
Not mentioned in the instructions (with zip) about altering the query for your database, please explain the query to us


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

<- thats mine, no photopost field prefix and is "userfield.field6" corresponding to the id of the new profile field or what?, ( was set to userfield.field61 ) ive run the cron with no errors, i suppose we have to update thread information or any update counters also before anything shows, besides running the cron...? as yet nothing for me showing... unless i remove the if statement "<if condition="$post['6'] == 'Yes'">"

and what this ? > ../gallery/showgallery.php/cat/500/ppuser/$post[userid]

/cat/500/ppuser? your using search engine friendly, im not...

?cat=500&ppuser=$post[userid]
(for me)

-b6

Last edited by b6gm6n; 06 Apr 2006 at 03:33.
Reply With Quote
  #6  
Old 06 Apr 2006, 18:57
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Not sure why mine is not working...

My pp database is in the same one I use for vbulletin not a seperate database.

Here is my gallery.php file. My custom field is feild8.

If I go into my database (database name is satellit_vb) and go to the userfield I can input Yes in field 8 and then it shows up, so this shows me it is not looking at the photopost database correctly.

Any ideas?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #7  
Old 08 Apr 2006, 07:05
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Yes that works well thank you!
Reply With Quote
  #8  
Old 09 May 2006, 00:48
KBowers KBowers is offline
 
Join Date: Nov 2005
I'm trying to get this to work, but I'm getting the following error messages:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT userid FROM mustangg_photopost.pp_photos;

MySQL Error : Access denied for user 'mustangg_bowers'@'%' to database 'mustangg_photopost'
Error Number : 1044
Date : Monday, May 8th 2006 @ 04:30:20 PM
Script : http://www.mustanggt.org/forums/cron.php?&rand=503085
Referrer : http://www.mustanggt.org/forums/showthread.php?t=41439
IP Address : 69.117.185.102
Username : Unregistered
Classname : vb_database

I'm assuming I'm getting this error message because I have my photopost database separate from my vbulletin database (and it requires different users - mustangg_bowers is the user for my vbulletin database and mustangg_bowers1 is the user for my photopost database). Is there anyway around this??

Help! :bunny: Thanks!
Reply With Quote
  #9  
Old 09 May 2006, 20:01
KBowers KBowers is offline
 
Join Date: Nov 2005
Originally Posted by mini2
I'm not sure if you can use other username/passwords using the vbulletin mysql functions, I'll have a look at this though and report back.
The separate databases and different usernames have not been an issue with anything else I have done on my vBulletin board and Photopost gallery. This is the first time I've run into problems with it... I've already done numerous mods without issues.

vBulletin board - http://www.mustanggt.org/forums/index.php

Photopost gallery - http://www.mustanggt.org/photopost/index.php

Thanks.
Reply With Quote
  #10  
Old 09 May 2006, 20:28
KBowers KBowers is offline
 
Join Date: Nov 2005
Originally Posted by mini2
If you could provide a link to the hack you use to display the images on your forum homepage that could help me.

Thanks.
Here you go... http://www.photopost.com/forum/showthread.php?t=121970

Thanks!
Reply With Quote
  #11  
Old 10 May 2006, 13:30
KBowers KBowers is offline
 
Join Date: Nov 2005
Originally Posted by mini2
I'd imagine adding the following from the hack you have installed

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(replacing dbuserid and dubuserpassword with your correct details) to the gallery.php above the "$photo_query" line might do it.
OK, I tried that and I still get the same error message as I posted above... :cross-eyed:
Reply With Quote
  #12  
Old 11 May 2006, 22:19
rrr rrr is offline
 
Join Date: Oct 2004
Can this work for vbAdvanced Gallery?
Reply With Quote
  #13  
Old 14 May 2006, 18:59
criscokid criscokid is offline
 
Join Date: Nov 2003
My gallery.php contains the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When trying to exect the file through cron I get the following error message:

Invalid SQL:
SELECT userid FROM photo-gallery.photos;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-gallery.photos' at line 1
Error Number : 1064

It's almost as if the PHP doesn't like the '-' in my database name. Anyway to fix this?
Reply With Quote
  #14  
Old 15 May 2006, 11:36
Schahab Schahab is offline
 
Join Date: Jan 2006
Great JOB!

Works fine! Thank you very much!

Last edited by Schahab; 15 May 2006 at 11:50.
Reply With Quote
  #15  
Old 16 May 2006, 10:43
criscokid criscokid is offline
 
Join Date: Nov 2003
Originally Posted by criscokid
My gallery.php contains the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When trying to exect the file through cron I get the following error message:

Invalid SQL:
SELECT userid FROM photo-gallery.photos;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-gallery.photos' at line 1
Error Number : 1064

It's almost as if the PHP doesn't like the '-' in my database name. Anyway to fix this?
Anyone able to offer any assistance?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:51.

Layout Options | Width: Wide Color: