View Full Version : PhotoPlog 1337 Thumbs (Just incase basic templates bore you.)
SHANE-D-PAIN
04-01-2006, 10:00 PM
Right well I did not like the way the Thumbnails appeared on the Forum Index from PhotoPlog, just made it look like every other site. I also was not happy with the fact that they ONLY showed on the Forum Index.
This is just a nice little change, also my first released plugin of any kind so any virtual bullying will be counter attacked with an onslaught of mouldy oranges.
So here is a little plugin by me, basically just an edit of the original so credit must go to Calorie (https://vborg.vbsupport.ru/member.php?u=35245) too. Wonderful thing he/she/it has done with this gallery. :)
For examples see the screenshots.
By the way this requires that you actually have the PhotoPlog Gallery Installed. (Go Get it! (https://vborg.vbsupport.ru/showthread.php?t=101368))
Installation Instructions:
Upload the Plugin.
Add the following code to any Template. For best results add it somewhere such as the Very Bottom of the navbar or soemthign else which is included throughout the site. ;) $photoplog_thumbs
Your done.
If you would like to edit the appearance or number of thumbnails shown then this next part is for you. ;)
Editing the appearance of the Thumbnails.
Open the PhotoPlog 1337 Thumbs Plugin for editing.
Search for this Code:
<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&w=s\" style=\"width: 55px; height: 55px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" />
Edit anything in the 'style' tag to suit.
To edit the number of Thumbnails Shown.
Open the PhotoPlog 1337 Thumbs Plugin for editing.
Search for this Code:
LIMIT 10
And simply change the number to the number of Thumbnails you would like to appear.
To show on vBadvanced (If you are displaying thumbs in header or navbar etc..)
Admin CP > vBA CMPS > Edit Pages > Home Page > Portal Output Global Variables > add: photoplog_thumbs
Feel free to read my blog if you want, not asking for much and I know you will love it, about as much as Honey Loves Ants :) . www.ShaneRounce.com (http://www.ShaneRounce.com)
Updates:
To install updates simply upload the new plugin over your old one and redo file edits.
17th April 2006 - v1.5
- Fixed Problem with Alignment of more than 5 Images.
- All XHTML Valid now too. :)
COBRAws
04-02-2006, 04:48 PM
nice!
AKapadia
04-02-2006, 05:25 PM
nice.....
Hasann
04-02-2006, 05:33 PM
cool! thanks for sharing
SHANE-D-PAIN
04-02-2006, 05:48 PM
Your welcome. :D
If anyone has any suggestions for small edits liekt hsi then please PM me, I'll be more than happy to take a look. :)
Anyone read my blog yet? LOL
Tim Wheatley
04-02-2006, 11:12 PM
Thank you.
ngontran
04-03-2006, 02:55 AM
awesome
GrendelKhan{TSU
04-03-2006, 02:48 PM
dang! this makes we want to uninstall vbaGallery and install photoblog JUST for this!!
nice!! nice!! :)
Jay...
04-03-2006, 03:27 PM
very nice hack! cheers!
Gizmo5h1t3
04-03-2006, 04:16 PM
cracking addition, only problem is, while it looks pretty good at 800 x 600 res, any higher, and the pics are all over the place...ie....not aligned equally....
even your screen shot shows this....
could be a problem where ppl have sites like mine, with varying width styles....
ive adjusted width in the plugin, so its exactly ok with 8 images in 800 x 600 res, but in 1280 x 1024, it looks bobbins.
cracking addition tho m8
bada_bing
04-03-2006, 04:18 PM
Nice
apollooooooo
04-10-2006, 03:11 PM
Cheers mate love it
And Now i Click Install......
SHANE-D-PAIN
04-13-2006, 04:10 AM
cracking addition, only problem is, while it looks pretty good at 800 x 600 res, any higher, and the pics are all over the place...ie....not aligned equally....
even your screen shot shows this....
could be a problem where ppl have sites like mine, with varying width styles....
ive adjusted width in the plugin, so its exactly ok with 8 images in 800 x 600 res, but in 1280 x 1024, it looks bobbins.
cracking addition tho m8
Yeah i saw that but just sorta rushed and whapped this up. If you could PM me the solution you cam up with then I will update this. ;)
I don't usually have the time for things like this. :P
Updated my Blog the other day, by the way. :P
defel
04-16-2006, 02:50 PM
I edited the code for performance reasons, to output links to the static images on filesystem ..
the sql-query:
$photoplog_file_infos = $db->query_read("SELECT fileid, userid, username, title, description, filename
FROM photoplog_fileuploads
WHERE moderate = 0
ORDER BY RAND()
LIMIT 15
");
and the part of the variables:
$photoplog_fileid = $photoplog_file_info['fileid'];
$photoplog_userid = $photoplog_file_info['userid'];
$photoplog_username = $photoplog_file_info['username'];
$photoplog_linkto = $photoplog_location."/index.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid;
$photoplog_url = $photoplog_location."/images/".$photoplog_userid."/small/".$photoplog_file_info['filename'];
$photoplog_row_top .= "
<td align=\"center\" width=\"20%\">
<a href=\"$photoplog_linkto\">
<img src=\"$photoplog_url\" style=\"width: 75px; height: 75px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" />
</a>
</td>
maybe this helps someone .. i did this changes because I display the images in the header of each page ..
is there a way to cache this bit? please pm me :)
Gizmo5h1t3
04-16-2006, 02:55 PM
Yeah i saw that but just sorta rushed and whapped this up. If you could PM me the solution you cam up with then I will update this. ;)
I don't usually have the time for things like this. :P
Updated my Blog the other day, by the way. :P
the solution i came up with, was to uninstall it til it gets fixed...lmao
SHANE-D-PAIN
04-17-2006, 06:27 PM
the solution i came up with, was to uninstall it til it gets fixed...lmao
Well its fixed. ;)
Props to defel for his/her help too. ;) I got stuck with soem stuff, I'm generally not a coder. :P
headshotx
05-01-2006, 08:28 PM
i install this .. but y can't view this .. all images is upload whit permision 600 and i can't view this tumbails .. :S .. view attachment help please :S
gavinzac
05-07-2006, 06:52 PM
this doesnt show on vBadvanced pages, is there a way to make it?
GrendelKhan{TSU
06-04-2006, 03:53 PM
I could get this to work at all. nothing appeared.
no effect that I could find.
I tried puting $photoplog_forumhome AND $photoplog_thumbs like...everywhere.
I tried these templates (in several locations)
-forumhome under navbar
-header
-forumdisplay
-navbar
nothing! I'm sure I did something stupid and just not seeing it. but for now.. I really can't figure out why it won't work. :(
any help would be greatly appreciated. :(
ps. also couldn't find "LIMIT 10" anywhere in the code. :.
HaYLaZ
06-04-2006, 04:57 PM
good work:D
GrendelKhan{TSU
06-05-2006, 01:28 AM
is there still support for this?
nothing is working for me....nothing appears at all... for any of the addon mods...
thumbs
forumhome
horizontal
all get nothing. :( :/
Brandon Sheley
06-05-2006, 01:30 AM
nice, will this work with Photoplog pro ?
GrendelKhan{TSU
06-05-2006, 01:45 AM
nice, will this work with Photoplog pro ?
so this worked for you?
:surprised: its doing nothing for me :(
<< photplog lite version
Brandon Sheley
06-05-2006, 02:24 AM
oh, i haven't even looked at it, maybe sometime this week I'll check it out
Gizmo5h1t3
06-05-2006, 03:42 PM
working fine...nice fix mate...looks pretty good as welll....
GrendelKhan{TSU
06-06-2006, 09:29 AM
woot! working now. AWESOME JOB! :D :D
SHANE-D-PAIN
06-07-2006, 12:06 AM
woot! working now. AWESOME JOB! :D :D
I dont understand what was wrong with it for you. :/
I do have it working on vBadvanced. if anyone needs any help then drop me a PM. ;)
GuaRRand
06-07-2006, 12:53 PM
no clue why, but its not workiong at all...
Put the $photoplog_thumbs everywhere but it doesnt show at all..
GuaRRand
06-07-2006, 09:56 PM
woot! working now. AWESOME JOB! :D :D
Care to enlighten me??
I still havent found the right place to put $photoplog_thumbs ...
Please people. if you find a solution..POST IT! :banana:
GuaRRand
06-07-2006, 10:30 PM
Found it.
Just put in in the forumhome under $navbar
GrendelKhan{TSU
06-09-2006, 04:15 AM
Care to enlighten me??
I still havent found the right place to put $photoplog_thumbs ...
Please people. if you find a solution..POST IT! :banana:
turns out... I am a moron.
I didn't realize the moderation setting was on. so all the images were stuck in the moderation que. I just accept them all and waahlaa!! all better. :)
go to your ADMIN CP >> Photoplog >> usergroup Manager >>
and make the second to last two option is set to "NO"
(Moderate This Group's Files: No )
what through me off is that it shows images in the actual gallery even though they in the moderation cue. anyway.... ;)
camuca
06-10-2006, 07:13 AM
Installed; good job. Working perfect!
thanks :) ..
But how do you upload a plugin?
SHANE-D-PAIN
06-12-2006, 06:44 PM
You cannot be serious. -_-
You cannot be serious. -_-
I figured it out.
Would it be possible to enable this to generate images from an assigned/specific category?
darkcrunk
06-13-2006, 06:09 AM
Nice one, really. But i would not install it, considering the high traffic and the amount of stress our delicate servers have to go thru everytime a page loads :P
GrendelKhan{TSU
06-14-2006, 07:21 AM
Nice one, really. But i would not install it, considering the high traffic and the amount of stress our delicate servers have to go thru everytime a page loads :P
does it add a lot of queries or something? what if we limit the number of images that appear?
I really love the look of this so I'd hate to have to NOT use it cause of server load.
ltaylor
08-08-2006, 05:43 AM
Are you able to show the smaller thumbs on other pages within the forum? I have the orginal thums on forum home. But would like to show the smaller thumbs on CMS and other pages? thanks.
wezoo
08-19-2006, 12:30 AM
great hack !!!!
im jsut about to install it :)
can it be adapted to work on a none vb page i would love something like this on my portal ?
GrendelKhan{TSU
08-28-2006, 05:35 AM
love it!! :D looks GREAT!!
working on 3.6.0 gold fine :)
example: www.clantsu.org/forums
:D
Pvtiste
08-30-2006, 01:32 PM
Very good job ! Thanks for the job & sharing :)
Install !
Snake
08-30-2006, 03:54 PM
Thanks for the hack! I'll install it right away... :)
ltaylor
09-17-2006, 02:22 PM
*Installed*
Love this hack! Great Space saver, plus looks great/professional too!!
BTW Works without a hitch on 3.6
rolandogomez
10-01-2006, 03:47 AM
Shane,
Beautiful hack. I'm desiging a new website, quesetion, how can we put the images on the main forum home page, see this link, http://www.imagedots.com/forums/ (still in dev) inside a table or box like the main community forums area. In other words, with Photo Plog's front thumbs for VBA modules, it creates the images in a "boxe" with the category name in the style. (see home page).
Another thing that would help and I have this on my bigger site with Photo Post, I just don't know how to do it here, but on that one I made to include files, one incl1.php one incl2.php and use one for the forum home and one for the front page, see www.glamour1.com
Would love to know this, as i love this and my new site will be using PhotoPlog for now. Thanks, rg sends!
rolandogomez
10-25-2006, 05:20 AM
I've upgraded to Pro v.2.1.2 and it doesn't work now, in fact, I don't even see it in the plugin's folder anymore...any ideas? Thanks, rg.
wezoo
10-27-2006, 10:11 AM
Yeah im waiting to upgrade but it wont work with the update
any chance of modifying this hack to work with the new version ?
dirty68
02-19-2007, 05:02 AM
I found that a few of my members have put up some pics that i wouldnt want other members to see on the navbar. is there a code or something i can use that will put some pics into a differnet catagory and have them not show up on there?
afmarko99
02-21-2007, 02:31 AM
Thanks for the mod. This is exactly what I was looking for.
fishhub
02-22-2007, 05:09 PM
anyone knows how to add this on top of What's Going On?
TIA
phill2003
04-19-2007, 06:08 PM
I found that a few of my members have put up some pics that i wouldnt want other members to see on the navbar. is there a code or something i can use that will put some pics into a differnet catagory and have them not show up on there?
Yea to stop this find
WHERE moderate = 0
and change it to
WHERE moderate = 0 AND catid != x,xx,xxx
change the x to represent the cat id that the photos are in if you have more than one just sperate them as I have in the example.
didim
05-01-2007, 12:20 PM
thanx very much mate u are a star
SuthernKumfort
05-07-2007, 06:49 PM
Is there a way to make the thumbnails that show up at the top of the page, to not look stretched and stuff. Right now, all I see is a place where you can change the pixel size, but is it possible for it to automatically pick the pixel size based on the size of the picture you are uploading?
www.clubshutterbug.com
Soko
SuthernKumfort
05-09-2007, 12:31 AM
Is there a way to make the thumbnails that show up at the top of the page, to not look stretched and stuff. Right now, all I see is a place where you can change the pixel size, but is it possible for it to automatically pick the pixel size based on the size of the picture you are uploading?
www.clubshutterbug.com
Soko
Anyone?
jasondavis
05-15-2007, 05:48 PM
I have installed photoplog with no problems, and then tried to install this but it will no work for me, any ideas why it wouldn't, Im using the lite verson of photplog and latest version of VB
viper357
05-15-2007, 05:52 PM
Great plugin, it is running perfectly on photoplog lite on vb 3.6.5. BUT, one problem, whenever my members are viewing the home page in vbAdvanced CMPS, and you check whos onlne, it shows them as "viewing photoplog" when in fact they are viewing the home page.
Any idea's on how to fix this?
Thanks.
phill2003
05-15-2007, 06:37 PM
I have installed photoplog with no problems, and then tried to install this but it will no work for me, any ideas why it wouldn't, Im using the lite verson of photplog and latest version of VB
I am assuming you have put $photoplog_thumbs into the template you want the thumbs to show? If you have there is no reason other than no photos that they would not show :)...
SHANE-D-PAIN
05-17-2007, 02:19 AM
Wow, I can't believe people are using this still! :O
Cool! :)
I might update it when I get some time spare. Infact I reckon I'll include a whole heap of extra stuff I've been working on for PhotoPlog too, all for the latest version. ;)
Checkout my Images Pages: http://www.teenageforums.com/pictures/index.php?n=119
(Not complete yet but getting there!)
Is there a way to make the thumbnails that show up at the top of the page, to not look stretched and stuff. Right now, all I see is a place where you can change the pixel size, but is it possible for it to automatically pick the pixel size based on the size of the picture you are uploading?
www.clubshutterbug.com (http://www.clubshutterbug.com)
SokoI have no clue what you are talking about. :S
GrendelKhan{TSU
05-17-2007, 03:23 AM
Wow, I can't believe people are using this still! :O
Cool! :)
I might update it when I get some time spare. Infact I reckon I'll include a whole heap of extra stuff I've been working on for PhotoPlog too, all for the latest version. ;)
HECK YAH. I installed photoplog SPECIFICALLY cause of this hack!!! works fine with 3.6.x
I got a simple implementation, but I like it:
www.clantsu.org/forums (http://www.clantsu.org/forums)
(I had it displayed top AND bottom which look great, but took bottom off for fear of page loading slowdown. :()
would love to see an update or what other featuers you have going on.
Checkout my Images Pages: http://www.teenageforums.com/pictures/index.php?n=119
(Not complete yet but getting there!)
:S
omg.. can I say.. I LOVE how that set-up looks!! esp the side bar with other member pics. how the heck did you do that??? if that's unfinished I can imagine what finished would be.
in fact, love the entire design of the forums (the overflowing header banner is leet).
dang ... want to be able to do similiar stuff... any tips? :)
We have tried to add this and nothing happened at all can anyone help please?
SuthernKumfort
06-08-2007, 09:02 PM
Wow, I can't believe people are using this still! :O
Cool! :)
I might update it when I get some time spare. Infact I reckon I'll include a whole heap of extra stuff I've been working on for PhotoPlog too, all for the latest version. ;)
Checkout my Images Pages: http://www.teenageforums.com/pictures/index.php?n=119
(Not complete yet but getting there!)
I have no clue what you are talking about. :S
What I mean is all the image thumbs are the same size, which is square! In order for some of the pictures to be converted to thumbs, they need to keep the original shape of the picture. For Instance, take a look at this gallery:
clubshutterbug (http://www.clubshutterbug.com/forums/photoplog/index.php)
See how some of the thumbnails are vertical, and some are horizontal? If they dont adjust to the actual shape of the image, then some of the images look stretched!
Any way you can take a look at this?
Soko
phill2003
06-09-2007, 06:35 AM
What I mean is all the image thumbs are the same size, which is square! In order for some of the pictures to be converted to thumbs, they need to keep the original shape of the picture. For Instance, take a look at this gallery:
clubshutterbug (http://www.clubshutterbug.com/forums/photoplog/index.php)
See how some of the thumbnails are vertical, and some are horizontal? If they dont adjust to the actual shape of the image, then some of the images look stretched!
Any way you can take a look at this?
Soko
Look in the plugin for this
"$photoplog_linkto\"><img src=\"$photoplog_url\" style=\"width: 30px; height: 30px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" alt=\"\" /></a>
and change it to
"$photoplog_linkto\"><img src=\"$photoplog_url\" style=\"padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" alt=\"\" /></a>
that will make the pictures keep the aspect ratio :)
keyness
06-14-2007, 12:36 PM
nice plugin, thanks
The Chief
06-14-2007, 04:24 PM
Would this work with their new version released?
PhotoPlog Pro v.2.1.4
SkyCatcher
07-01-2007, 11:39 PM
awesome! thank you
Merrillizer
07-25-2007, 06:57 PM
We have tried to add this and nothing happened at all can anyone help please?
i couldnt see it either, then i RE-READ the directions, and moved the $photoplog_thumbs to the BOTTOM of the NAVBAR template. I only added a < /br> above it for a little space and left it alone so far.
Last time!....put the $photoplog_thumbs at the VERY BOTTOM of the NAVBAR template.
Mrdby
08-22-2007, 04:42 PM
Perfect
delnouro
09-15-2007, 09:00 PM
Is it possible to force users to insert a title and a description when they upload a picture.
That would be very nice!
StreetTriple
10-30-2007, 05:40 PM
wich HOOK location i did chose?
Hello, big plug, I have installed some time ago, but now I have changed server and stopped working thumbnails and upload files, it does not entirely correct but is the image, no mistake, it can be? Thank you.
StreetTriple
11-07-2007, 10:03 AM
can you help me?
Roflstilzchen
11-24-2007, 08:49 AM
Last time!....put the $photoplog_thumbs at the VERY BOTTOM of the NAVBAR template.
done, but doesn?t seem to work with vb 3.6.8 and lite 2.0.6 :(
argus
01-06-2008, 04:19 PM
Just installed. Works fine with 3.6.8 and PhotoPlog Pro. Thanks!
Evolution06
01-07-2008, 08:53 PM
Works good with 3.7 also but one question is there a way to get a hover over pop up with the thumbs? Just something like when you hover over the thumb a box pops up showing the images a bit bigger?
vwdforum
03-23-2008, 08:56 AM
Just added to my forum however heres the strange thing. If I'm logged in as admin I get the following error
Database error in vBulletin 3.7.0 Beta 3:
Invalid SQL:
SELECT fileid, title, filename FROM PHOTOPLOG_PREFIXphotoplog_fileuploads
WHERE fileid IN (3,2,4,6,5,1);
MySQL Error : Table 'renamed1_renamed.PHOTOPLOG_PREFIXphotoplog_fileup loads' doesn't exist
Error Number : 1146
Date : Sunday, March 23rd 2008 @ 09:41:57 AM
Script : http://www.removed
Referrer : http://www.removed
IP Address : 81.153.246.184
Username : mally
Classname : vb_database
MySQL Version : 4.1.22-standard
However I can see it perfectly if I'm not logged in.
Any advice??
GuaRRand
05-30-2008, 01:12 PM
Works good with 3.7 also but one question is there a way to get a hover over pop up with the thumbs? Just something like when you hover over the thumb a box pops up showing the images a bit bigger?
i second that :)
hobbybox
06-20-2008, 01:29 AM
Can this be used in a vbadvanced module? I added as global variable and put in a module but nothing showed.
hobbybox
06-29-2008, 12:28 PM
Is there any support for this?
Mrdby
07-24-2008, 06:35 PM
3.7.2?
SHANE-D-PAIN
08-01-2008, 12:40 AM
3.7.2?
Don't see why not. :D
Might update this soon, make it more user friendly and also make it available for vb Album. Anyone up for that?
zombietom
03-27-2009, 04:43 PM
installed and working great on 3.7.1
thanks
monkeyboy1916
05-29-2009, 03:16 AM
Thanks alot for this!
I used this until I bought PhotoPost, then I recoded the PhotoPost inc_features.php way of doing it to match yours, also added opacity mouseover effects.
Thanks again,
Monkey
SHANE-D-PAIN
06-01-2009, 10:19 AM
Thanks alot for this!
I used this until I bought PhotoPost, then I recoded the PhotoPost inc_features.php way of doing it to match yours, also added opacity mouseover effects.
Thanks again,
Monkey
Nice one.
I'd be interested to see your Modifications. :)
ArnyVee
06-07-2009, 11:25 PM
Shane, I'm trying to add this as a single image in my side column on my forumhome. I changed the Limit to 1 and that part is fine, but it's stretching the entire side column across the forum home. What do I have to change to make sure that it sticks to the size of the side column or make it so that the width is at a specific size?
SHANE-D-PAIN
06-08-2009, 02:07 AM
Drop me an email for support.
This is ages old now so I'll have to take a look at what you mean myself.
ArnyVee
06-08-2009, 02:24 AM
Drop me an email for support.
This is ages old now so I'll have to take a look at what you mean myself.
I'll send you a note shortly. Here's where I'm trying to put the thumbnail.
100289
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.