![]() |
|
#1
|
|||
|
|||
|
This module will display the latest 5 (configurable) comments from PhotoPost Pro including the associated photo thumbnails.
I noticed there was a similar module posted here as well, but the code wasn't working on my installation so I constructed my own. Tested and working on VB 3.68, VBA CMPS v3.0 RC1, PP Pro 5.6.2, don't know if it will work otherwise. 1. Open pp_latestcomments.php and make the changes as annotated. Save and upload to your vBadvanced modules folder. 2. Add 2 new templates (Code below - included in .zip also): adv_portal_pp_latestcomments Code:
$pp_latestcommentsbits Replace the two instances of YOURGALLERYURL with your gallery root folder url (ie: http://www.mysite.com/gallery) and the one instance of YOURVBULLETINURL with your vBulletin root folder url (ie: http://www.mysite.com/forums). Code:
<tr> <td class="alt1" align="left"> <span class="smallfont"><a href="http://YOURGALLERYURL/showphoto.php?photo=$pp_latestcomments[photo]"><strong>$pp_latestcomments[title]</strong></a><br>$pp_latestcomments[comment]<br>by <a href="http://YOURVBULLETINURL/member.php?u=$pp_latestcomments[userid]">$pp_latestcomments[username]</a> </td> <td class="alt2" align="center"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td style="background: url(http://YOURGALLERYURL/data/$pp_latestcomments[cat]/thumbs/$pp_latestcomments[bigimage]); background-color: #FAFAF8; background-repeat: no-repeat; background-position: center;"><a href="http://YOURGALLERYURL/showphoto.php?photo=$pp_latestcomments[photo]"><center>$pp_latestcomments[thumb]</center></a> </td> </tr> </table> <span class="smallfont">Rating:$pp_latestcomments[rating]</span> </td> </tr> Module Title: Latest Gallery Comments Active: Yes File to Include: pp_latestcomments.php Module Parent: None Identifier: pplatestcomments Templates Used: adv_portal_pp_latestcomments adv_portal_pp_latestcomments_bits Initialize BB Code Parser: No Initialize Forum Permissions: No Initialize Moderator Cache/Permissions: No Initialize Ignored Users: No Clean File Output: No Title Row Colspan: 2 Save Place module where desired. 4. Done Last edited by John_770; 09-04-2007 at 05:56 PM. |
|
#2
|
|||
|
|||
|
awesome! will install now
|
|
#3
|
|||
|
|||
|
nm i figured it out, love this module!
Last edited by puregraf; 10-25-2007 at 09:00 PM. |
|
#4
|
|||
|
|||
|
this is really cool! thanks a lot
|
|
#5
|
|||
|
|||
|
I run using 2 databases -can anyone tell me what I need to modify please?
|
|
#6
|
|||
|
|||
|
how and where do I add the two templates, adv_portal_pp_latestcomments, and adv_portal_pp_latestcomments_bits?
thanks, sorry I'm new |
|
#7
|
|||
|
|||
|
hello!
i have photoplog - can i found something like this to photoplog? regards bosss |
|
#8
|
|||
|
|||
|
Well I tried my best but I really didn't know where the two templates adv_portal_pp_latestcomments, and adv_portal_pp_latestcomments_bits go
I locked my site up with a database error if any of you guys could tell me how to add the templates I'd appreciate it Thanks! Steve |
|
#9
|
|||
|
|||
|
very nice thx
|
|
#10
|
|||
|
|||
|
Is there a way to only show the latest, random or most popoular picture från PhotoPost on the CMPS fronpage as a module on the side?
|
|
#11
|
|||
|
|||
|
I also would like to know this
__________________
http://www.photochimper.com |
|
#12
|
|||
|
|||
|
Awesome... installed, tyvm.
|
|
#13
|
|||
|
|||
|
Any ideas how to see bb codes in latest comments cmps box?
cmps 2.2.1 vbulletin 3.6.4 pp pro 5.5 In general same question for template based boxes. Can't see bb code parse option in cmps 2.2.1 . Thanks for reply. Regards, Cocko |
|
#14
|
|||
|
|||
|
I'm getting this error when even trying to install it. Can anyone help?
Quote:
|
|
#15
|
|||
|
|||
|
Photoplog one would be nice ))
|
|
#16
|
|||
|
|||
|
Hello.
I installed this and I get a database error on the home page. Basically it's a table prefix error as I can see: MySQL Error : Table 'user_mysite.mst_pp_comments' doesn't exist Maybe it's just a matter of getting rid of the mst_ ? How would I do that please? The correct database table pp_comments is there in the database. |
|
#17
|
|||
|
|||
|
bump
|
|
#18
|
|||
|
|||
|
Where do we add the two templates?
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Photopost vBGallery module help | Lord Katsuhito | Module & Modification Discussion & Requests | 0 | 07-11-2007 07:27 AM |
| [vB 3.6.4] Is their a Gallery Module? [photopost 5.62] | Bergler | Module & Modification Discussion & Requests | 5 | 04-16-2007 07:35 PM |
| poll module from vba to photopost | puregraf | Module & Modification Discussion & Requests | 0 | 02-25-2007 03:01 PM |
| photopost module? | Ted S | Add-On Modules & Modifications | 3 | 08-09-2004 08:40 AM |