PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 9th, 2011, 04:34 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 7
Allow Adsense to Crawl Member Only Gallery

How do I allow adsense to crawl members only gallery?

I did it for my forum by adding
Quote:
if ($is_bot == 1) {
$vbulletin->userinfo['usergroupid'] = 2;
}
to my init.php and created a file that recognizes the adsense bot.

Thanks!
dai-kun is offline   Reply With Quote
Old July 10th, 2011, 09:12 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
I guess you lock down your site from guests? Really I can not guess on your mods. In the gallery viewing permissions are set via category permissions via what usergroup a user is in.

without knowing more I really cant guess as all our variables are defined via various functions. That may work in our pp-inc.php file


Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; July 12th, 2011 at 07:33 AM.
Chuck S is online now   Reply With Quote
Old July 11th, 2011, 10:10 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 7
Yes, I only allow registered members to access the gallery, like my forums.

The above fix do not seem to work. Is there another approach at letting in the adsense spider only, your approach?

Last edited by dai-kun; July 11th, 2011 at 10:40 PM.
dai-kun is offline   Reply With Quote
Old July 12th, 2011, 07:34 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
There really is no support for code mods. I am just posting my thoughts based on what your doing.

remember you can do what I suggest in our code but you need to define that is_bot variable. That means maybe including that file in our code where your doing the code change.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Member Gallery flyaddict General Discussion 1 April 25th, 2007 12:59 PM
Question about Google adsense and getting more than Photo Gallery ads Silver_2000 General Discussion 3 May 23rd, 2006 01:31 PM
How can I join a member gallery to another gallery? AdrianaInVa Photopost Pro How Do I...? 1 February 21st, 2005 12:15 PM


All times are GMT -5. The time now is 10:59 PM.

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