The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBadvanced & Photopost Latest comments on front page. Details »» | |||||||||||||||||||||||||||
vBadvanced & Photopost Latest comments on front page.
Developer Last Online: May 2010
**********************UPDATE 12/03/2006**************************
If you have downloaded the file before this update then i recomend that you re-download it and use the latest file. In this latest edit I have made the file check the photo height and width and show the correct size thumbnail (thanks to Cocko for bringing this to my attention ) I believe this is the last edit that will be needed as i have done everything I can think of for this and it does what it is supposed to now, That is it shows the latest 5 comments and only those comments that have an actual comment in it and not just a rating with a blank comment. It displays the username of the user who posted the comment and links to his/her profile (vb profile) it puts the rating under the photo (with instructions on how to remove it) and now it checks the width and height and sizes the thumbnail accordingly. Thanks phill *****************END UPDATE************************************** **********************UPDATE 12/02/2006************************** If you have installed this already re-download the hack and use the updated cmps_comms.php it has more built in functionality. Main edits. 1. ability to disallow cats from showing. 2. Stops empty comments from showing and grabs the latest 5 comments that have comments in them. 3. I put the ratings onto it so they show under the thumbnails (I included instructions on how to remove it) So please re-download the zip file and use that one it is the latest build of this hack. Thanks Phill *****************END UPDATE************************************** This hack will put the 5 latest comments from photopost pro into a block on the front page of your vbadvanced cmps. Demo Here or see screenshot attached. To install this. 1. Open cmps_comms.php and edit all the variables to your own. once done save. 2. open cpms_coms_block.php and change the path to the script to reflect yours. once done save. 3. Upload cmps_comms.php to your photopost folder 4. upload cpms_coms_block.php to your module folder (cmps modules) 5. go to your vbulletin admin control panel. 6. in the left pane choose vBa CMPS and expand it, then choose 'add module' 7. choose php file
you should now have the block on your front page. If it looks funny or is not is the block or something, go back untick clean file output and save then go back and retick clean file output and save, that should clear up the problem (no idea why it does that but it does) Hope you like this hack please click install if you use this This was brought to you by http://www.ThatsShocking.com Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
|||
|
|||
Quote:
|
#43
|
|||
|
|||
Got this working and it's great! Thank You!
I have just one question - how would I get the lines to appear between each comment/photo like you have in your sample thumbnail? Cheers! |
#44
|
|||
|
|||
Any chance of seeing support for BB Code added?
|
#45
|
|||
|
|||
and smiles would be nice, also
|
#46
|
|||
|
|||
Got this working and it's great! Thank You!
I have just one question - how would I get the lines to appear between each comment/photo like you have in your sample thumbnail? Cheers! |
#47
|
||||
|
||||
Hi,
Nice start of a hack... It's off to a good start... that fact that you have to exclude categories for this to work is a super glitch in my book because I don't want any of my categories excluded!!! So what I did to fix this is put a fake category number in and poof it works perfect! So if you have the problem with this error: Unknown column 'xxx' in 'where clause' Just put in: $cat_exclusions = '1,2' (line 11 in my file) Then the module will work without that error and all categories will show comments. This module looks pure ugly in my side columns in my CMPS. I have to have it in my center. I am working out how to set this up in a column that will not look pure ugly. I will post screen shots and how to do with clear instructions once I get it worked out. |
#48
|
|||
|
|||
Quote:
Yep or it could be that I wanted to exclude cats from showing If you dont want to exclude anything just remove Code:
$cat_exclusions = 'xxx,xxx'; Code:
WHERE cat NOT IN ($cat_exclusions) AND comment != '' Code:
WHERE comment != '' But if you want to put false cat numbers in to fix a non existent problem go right ahead Oh and as it looks pure ugly you probably wont want to use it so if thats the case you may want to release one you code so others can come and say to you "Hey this is crap looks rubbish is not finished but i will use it anyway" |
#49
|
||||
|
||||
In my sidebar this module kills my theme.
In my center column it looks awesome... but.... Someone left a good sized comment with a long URL. It is stretching my theme to the right so the right column you now have to scroll to see all of it. What code do I have to change to make this module when in the center column not stretch. How can I set the width of this in a center column so it perfectly matched my other blocks? I am sorry if my comments about your module didn't sit right with you... but... like I said in a side column it is all whacked out for me and doesn't look as nice as your great screen shot. There are other problems with your module as well. URLs don't show correctly nor does BB codes. For instance, instead of a nice hyper link in a comment it shows: ["URL]http://www.domain.com/whatever/08-02.html[/URL"] (without the "") So How do I stop the block from stretching when long urls are posted? Thanks! Again don't take my comments personally and fire back at me but it has problems and I am willing to help the best I can by at least letting you know so you can make an even better module. Thanks for a great module its a one of a kind so far! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|