Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
PP Photo Count in Postbit Details »
PP Photo Count in Postbit
Mod Version: 1.00, by trackpads (Member) trackpads is offline
Developer Last Online: Jan 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 16
Released: 27 Apr 2006 Last Update: Never Downloads: 90
Not Supported Uses Plugins Template Edits  

This is an Addon for Photospost and VB 3.5.4 that will show the total number of photos a user has uploaded to your Photopost Gallery. For the other PP Products please see my profile. I apologize for any errors in advance, I am new at this

Special thanks to everyone in the coders forum as well as Zachery, Hambil, Geoligist, Developer and tn3yguy! And of course Photopost!

This hack is based on the Referers in Postbit Hack by Developer.

For support please click install!



Notes before you install!!

1. This hack will add on query per postbit on your showthread pages. On my site it is unnoticeable but if you experience a load problem then try disabling it. I am working on a second version but it will require actually hacking PP code and this is the easier version.

2. I have 2 versions of the XML, for those that have their pp in the same database as VB and for folks that dont. This is unnavoidable since PP users seem to have dramatically different databases. I personally have my VB and PP installs in the same dbase so I have not tested the XML for seperate dbases. Please let me know if it doesnt work or if there is a better way.

3. [PP/VB in Same Dbase] - Once you download the XML file (PP Pics In Postbit.xml) you will need to open it in a Text Editor and edit the phrase 'pptablename' to the name of your PP Photos table. If you are using the default install then it should be 'photos' or 'pp_photos' if you chose a prefix. Do not edit this with an editor like Write or Word, use plain old notepad. Then save it and install below.

4. [PP/VB in different Dbase] -If you are using a seperate database for VB and PP then edit the XML file (PP Pics In Postbit-sep dbase.xml) and replace 'databasename' with the name of the Database that PP is installed in, then do the edit in #3 for the table name.

5. Go to your Admin cp > Plugin System > Download/Upload Plugin. Then upload the plugin.

6. Go to your Admin cp > Styles and Templates > Postbit Templates and add the following:

For Postbit

Find:


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

Add After:



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


For Postbit Legacy

Find:


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

Add After:



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

And that is it! Please click install!

Download Now

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

Screenshots

Click image for larger version

Name:	SP32-20060425-215710.jpg
Views:	161
Size:	2.7 KB
ID:	46611  

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
VB Gallery Photo Counts in Postbit trackpads vBulletin 3.5 Add-ons 22 10 Oct 2006 08:17
Latest Photopost Photo In Postbit sabret00the vBulletin 3.0 Full Releases 43 01 Dec 2005 23:41

Comments
  #2  
Old 27 Apr 2006, 10:06
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Reserved
Reply With Quote
  #3  
Old 27 Apr 2006, 13:04
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
You the man!
Reply With Quote
  #4  
Old 27 Apr 2006, 13:05
HC. HC. is offline
 
Join Date: Mar 2004
Thanks been waiting for this for 3.5
Reply With Quote
  #5  
Old 27 Apr 2006, 18:49
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Real name: Ant
Very neet my man!

-b6
Reply With Quote
  #6  
Old 27 Apr 2006, 19:31
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Thanks! Please click install!
Reply With Quote
  #7  
Old 27 Apr 2006, 19:51
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
I am not so concerned about this in my post view but I assume this can be done in a person's profile, right? I have to look at the code and see if I can cut this down to just that part...

Also, I assume this is for the PhotoPost PHP Pro program, right?

Last time I tried to install Photopost hacks it was for the Gallery program and not the Pro
Reply With Quote
  #8  
Old 27 Apr 2006, 21:07
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
It can but I think there is already a hack for that, search for Photopost here on the forums and I think you will find it. If not let me know and I will make one.

-Jason
Reply With Quote
  #9  
Old 27 Apr 2006, 21:33
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Real name: Ant
Have not installed for myself! - but it's a great mod!

-b6
Reply With Quote
  #10  
Old 27 Apr 2006, 23:19
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Np, thanks!
Reply With Quote
  #11  
Old 01 Jun 2006, 22:01
SHalliday's Avatar
SHalliday SHalliday is offline
 
Join Date: Jan 2002
Real name: Scott Halliday
Jason,

Thank you very much for another great hack!

I am also interested in adding this to the memberinfo page. I did a search for "Photopost" but all I was able to come up with was the "Photopost Latest uploads in user profile". I have this installed and it works great. Unfortunately it does not show how many photos the member has in the photopost gallery. I am hoping you will consider releasing a version of your postbit hack for the memberinfo page.

Thanks again for all the fine work!
Reply With Quote
  #12  
Old 08 Jul 2006, 16:57
zendiver zendiver is offline
 
Join Date: Sep 2004
trackpads,

From the looks of this, it is very nice but it seems that using (<if condition="$show['profile']">), it would show up in the postbit/postbit_legacy EVEN when a member doesn't have photos uploaded. Any work around on this one?
Reply With Quote
  #13  
Old 08 Jul 2006, 17:18
zendiver zendiver is offline
 
Join Date: Sep 2004
trackpads,

I have edited mine to look like the following:

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

This way if a member doesn't have photos uploaded in PhotoPost, then the information doesn't show up in their postbit/postbit_legacy.
Reply With Quote
  #14  
Old 08 Jul 2006, 18:33
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Does the output provide an actual link to the users photo's, or is it just a query output of the number of photos?
__________________
-=morrow=-
Reply With Quote
  #15  
Old 12 Jul 2006, 03:59
TwinsForMe TwinsForMe is offline
 
Join Date: Oct 2004
I did a combination of this hack, plus zendiver's modification, and TOZ's hack.


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

This creates a clickable link to the member's gallery when you click the camera.
Attached Images
File Type: gif screenshot.gif (2.4 KB, 14 views)

Last edited by TwinsForMe; 12 Jul 2006 at 04:01.
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 13:52.

Layout Options | Width: Wide Color: