PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old May 2nd, 2005, 02:18 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 29
Just purchased and 1 question

I want to put on the navbar a link to gallery in this way:
this image
Code:
Content visible to verified customers only.
when there are no new images and this
Code:
Content visible to verified customers only.
when there are new images
So my users know when to go to the gallery to watch images
Is this possible?
Black_Widow is offline   Reply With Quote
Old May 2nd, 2005, 02:34 PM   #2 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,408
Re: Just purchased and 1 question

Black Widow,

You would have to add some PHP code in order to do a query to decide if there are new images or not. It's a 'doable' thing but not without getting involved with changing code.
KW802 is offline   Reply With Quote
Old May 2nd, 2005, 02:51 PM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: May 2004
Posts: 531
Re: Just purchased and 1 question

Love this idea... will keep a watching brief on this thread as I'd like to see how this is done.

EDIT:

Just looked in ga..ery/browseimages.php and found this:
Code:
Content visible to verified customers only.
... does this mean one can use a conditional to check for

if 'newimages'=true
show flashing Gallery link
else show normal Gallery link

???
imported_theMusicMan is offline   Reply With Quote
Old May 2nd, 2005, 04:08 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 29
Re: Just purchased and 1 question

Thanks
And where have i to use conditional? Are thos variables definie in all files of vb3?
Mhm i'm not so good with code
Black_Widow is offline   Reply With Quote
Old May 2nd, 2005, 05:33 PM   #5 (permalink)
Senior Member
Verified Customer
 
Join Date: May 2004
Posts: 531
Re: Just purchased and 1 question

Quote:
Originally Posted by Black_Widow
Thanks
And where have i to use conditional? Are thos variables definie in all files of vb3?
Mhm i'm not so good with code
Hi BW...

Not so sure on this one hence my question too...!!!

I shall wait for Brian to have a read of the thread and hopefully he will pop a reply to it (and hopefully to my latest PM also )
imported_theMusicMan is offline   Reply With Quote
Old May 2nd, 2005, 06:25 PM   #6 (permalink)
Brian
Guest
 
Posts: n/a
Re: Just purchased and 1 question

If you'll open your forum/global.php file and add this bit of code near the very bottom (just before the closing ?> tag):
Code:
Content visible to verified customers only.
Then you could use an if condition in your template that would look something like this:
Code:
Content visible to verified customers only.
  Reply With Quote
Old May 2nd, 2005, 06:28 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 29
Re: Just purchased and 1 question

Thanks Brian, I'll try
Black_Widow is offline   Reply With Quote
Old May 2nd, 2005, 06:34 PM   #8 (permalink)
Member
Verified Customer
 
Lizard King's Avatar
 
Join Date: Nov 2005
Posts: 143
Re: Just purchased and 1 question

Brian I have a question , In my navbar i have a dropdown menu for gallery and I liked the idea. Is it possible for me to integrate this with my dropdown menu ?
Like :

Code:
Content visible to verified customers only.
Will this work ?
Lizard King is offline   Reply With Quote
Old May 2nd, 2005, 06:38 PM   #9 (permalink)
Brian
Guest
 
Posts: n/a
Re: Just purchased and 1 question

Don't see why it wouldn't.
  Reply With Quote
Old May 3rd, 2005, 08:12 AM   #10 (permalink)
Senior Member
Verified Customer
 
Join Date: May 2004
Posts: 531
Re: Just purchased and 1 question

Quote:
Originally Posted by Brian
If you'll open your forum/global.php file and add this bit of code near the very bottom (just before the closing ?> tag):
Code:
Content visible to verified customers only.
Then you could use an if condition in your template that would look something like this:
Code:
Content visible to verified customers only.
Hey Brian

No joy with this one sorry. I made the changes to Global.php and added the conditional into my header template to test it out. The message then showed correctly i.e. no new images, but when I uploaded an image, it remained the same...

Any ideas...?

PS: Did you see my latest PM to ya...
imported_theMusicMan is offline   Reply With Quote
Old May 3rd, 2005, 08:34 AM   #11 (permalink)
Member
Verified Customer
 
Lizard King's Avatar
 
Join Date: Nov 2005
Posts: 143
Re: Just purchased and 1 question

Quote:
Originally Posted by theMusicMan
Hey Brian

No joy with this one sorry. I made the changes to Global.php and added the conditional into my header template to test it out. The message then showed correctly i.e. no new images, but when I uploaded an image, it remained the same...

Any ideas...?

PS: Did you see my latest PM to ya...
Same with me.
Lizard King is offline   Reply With Quote
Old May 3rd, 2005, 11:18 AM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Just purchased and 1 question

Sorry, looks like I had a small error in the code. I just updated the post with the correct code though.
  Reply With Quote
Old May 3rd, 2005, 01:42 PM   #13 (permalink)
Senior Member
Verified Customer
 
Join Date: May 2004
Posts: 531
Re: Just purchased and 1 question

still no joy though Brian... same as before.
imported_theMusicMan is offline   Reply With Quote
Old May 3rd, 2005, 06:37 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2004
Posts: 29
Re: Just purchased and 1 question

Mhm yes it seems not to work well.
I jave added Brian code in global.php and I'm using this conditional

Code:
Content visible to verified customers only.
You can give a look here www.p2pforum.it
When a not logged in users go to my forum it shows No-New Image , but when it enter Gallery forum always shows NEW image.
mhm what's up?
Black_Widow is offline   Reply With Quote
Old May 3rd, 2005, 10:47 PM   #15 (permalink)
Brian
Guest
 
Posts: n/a
Re: Just purchased and 1 question

Seems to be working fine on my localhost... When I go to p2pforum.it it's also showing that there are new images from the homepage and gallery...
  Reply With Quote
Old May 3rd, 2005, 11:13 PM   #16 (permalink)
Member
Verified Customer
 
Lizard King's Avatar
 
Join Date: Nov 2005
Posts: 143
Re: Just purchased and 1 question

Quote:
Originally Posted by Brian
Seems to be working fine on my localhost... When I go to p2pforum.it it's also showing that there are new images from the homepage and gallery...
Mine is not working also. Maybe this is only working with an image.
Lizard King is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just purchased the Classifieds and need some help please LadyDivus Classifieds Installation & Upgrades 3 August 29th, 2005 02:21 PM
Purchased & Installed this evening... DudeRick Photopost Pro Installation & Upgrades 2 April 4th, 2005 09:30 PM
Just Purchased NextGen vBGallery Suggestions 1 April 3rd, 2005 10:20 AM
5.02 - Upgrade Error Question/Deleted Files Question WB Photopost Pro Installation & Upgrades 5 March 16th, 2005 03:00 PM
Purchased Gottcha Before You Buy 4 October 22nd, 2004 09:05 AM


All times are GMT -5. The time now is 10:13 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0