vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   PhotoPlog: vBa CMPS Thumbs (https://vborg.vbsupport.ru/showthread.php?t=103839)

Robbed 02-01-2006 10:09 PM

Can someone just post the code for horizontal.

Thanks

[email protected] vbmenu_register("postmenu_890168", true); 02-04-2006 02:40 PM

anyone know how to alto moderate pictures for the photoplog gallery?

Robbed 02-05-2006 11:11 AM

Quote:

Originally Posted by saint@t-og.net
anyone know how to alto moderate pictures for the photoplog gallery?

Usergroup permissions.


How do we show horizontal random pics on VBA?

[email protected] vbmenu_register("postmenu_895689", true); 02-09-2006 08:00 PM

cheers :)

akanevsky 02-10-2006 12:21 AM

Very nice! Installed and voted 5.

calorie 02-19-2006 02:28 PM

FYI: mod updated for use with PhotoPlog Lite v.1.0.7/8

blueuniverse 03-03-2006 05:09 PM

I'm having a slight problem with the horizontal file. It's causing the right hand column (in a 2-column set up) to skip until the module is shown. Basically, the right hand column is being pushed down below the placement of the photoplog module. I've included a screenshot explaining this better.

Also, is it possible to include the name of the file (limited to a number of characters in the php file) instead of the username? If so, I'd be incredibly greatful if you could post the code.

Back onto the initial issue, template code is default - php isn't but it's the same issue with the default code. The sidebar is set to 100 pixels so that shouldn't be the issue.

blueuniverse 03-07-2006 08:45 PM

Any ideas?

offsidex 03-10-2006 02:43 PM

Thank you Great Work !

Cky47 03-29-2006 01:04 PM

Thanks man... your the greatest.

blueuniverse 04-01-2006 01:10 PM

Still having the problem mentioned above :\

TeddyKGB 04-26-2006 02:45 AM

I've installed mine but I have the same problem as other users. I see the horizontal frame box for where the thumbs should be but no pics. I made sure that it is active and that I (admin) have permission to view them

I get no error messages. Any ideas? Thanks

GrendelKhan{TSU 06-04-2006 05:00 PM

even stupider questions:

I can't find this:
(ACP -> Styles and Templates -> Style Manager -> Add New Template)

I just don't have it or am I blind? I have Add New Style, but can't find add new template. I must be looking in the wrong place or something.

but I can't find it!!

blueuniverse 06-04-2006 05:48 PM

Select your actual style first.

GrendelKhan{TSU 06-05-2006 01:35 AM

Quote:

Originally Posted by blueuniverse
Select your actual style first.

thanks!! found it. :)

.... er... ok... tried to install...
but what's the identifier needed in when making the php module?

it just tells me...
Quote:

You already have a Module with an identifier of ''. Please select a different identifier.
there is nothing in the readme file about what to put there. :(

GrendelKhan{TSU 06-05-2006 05:06 AM

figured it out. for future n00bs like me

1. identifier: $photoplog_thumbs_horiz
2. make sure all the photos aren't sitting in your moderation que. :rolleyes: :p (I'm such a dope.)

GrendelKhan{TSU 06-05-2006 05:40 AM

Quote:

Originally Posted by blueuniverse
Select your actual style first.

hey blueuniverse.. just checked out your site... looks great! great implementation of this hack too. :)
  • can I ask... how'd you get it to display with no borders and cellpadding etc?
    I've been trying to do that (I think its much cleaner)...but it keeps making a box around the images :(
  • also, can I ask how'd you make it post the image title (not who posted)?
anyway... great stuff. ;)

here's mine: www.clantsu.org. (still tweeking. :p)

GuaRRand 06-07-2006 10:27 AM

is it possible to set permission on specific catagories in the gallery?
So a catagory (games for instance) that is viewable by everyone and a catagory (personal photo's) which is only viewable by a specific usergroup!?

GuaRRand 06-07-2006 03:42 PM

HOw do you limit the number of images it shows on the portal?

(nvm, got it, edit the php file :P )

vau7 07-02-2006 11:17 AM

can i use the code withoout vBa, just in a sidebar?

GrendelKhan{TSU 08-04-2006 10:24 AM

would much appreciate it if someone could post how to:

-- change thumbnail size
-- name of the file (like blue said....)
Quote:

Also, is it possible to include the name of the file (limited to a number of characters in the php file) instead of the username? If so, I'd be incredibly greatful if you could post the code.
I'd be very grateful if someone could post that info. :)

Guest210212002 08-04-2006 05:10 PM

[high]* Guest210212002 Updates
[/high]

One small error Calorie, when I try to validate this code, there are no alt tags defined for the thumbnails so it fails:

Code:

<a href="/photoplog/index.php?n=26">
<img src="/photoplog/file.php?n=26&amp;w=s" border="0" />

I added: alt=\"Thumbnail\" to the end of the image call like so:

Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=s\" border=\"0\" alt=\"Thumbnail\" />
Into photoplog_thumbs.php, and it validates now. :)

ltaylor 08-08-2006 05:17 AM

Thank you again Calorie!

wezoo 08-20-2006 12:17 AM

would it be possible to display these on my none vb portal calorie?

GrendelKhan{TSU 08-25-2006 04:50 AM

anyone get this to work with 3.6.0 gold?

Baku 09-10-2006 10:32 PM

Ok error i was getting is now resolved. :)

Great Mod - any way we can specify the number of thumbnails shown?

GrendelKhan{TSU 10-31-2006 03:32 AM

no one knows how to change the size of the thumbnails??

and get rid of the cellpading?

digital_sc4rz 12-21-2006 09:05 PM

ThanX :cool:

maranello 12-27-2006 09:58 PM

Guys, someone please explain how to change the thumbnail size.

maranello 12-27-2006 10:23 PM

alright, i found the solution to change the thumb size:

open "photoplog_thumbs_horiz.php" file (or if you are using vertical one open "photoplog_thumbs_vert.php").

Find the line that starts with:

PHP Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->..... 

At the end you will see w=s\", make it w=1s\"

Again, at the end of the line, after border=\"0\" add width=\"yourchoice\" where yourchoice is the width you want. So in my case, that line looks like this:

PHP Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=1s\" border=\"0\" width=\"175\" /> 


sinistergaming 02-03-2007 02:01 AM

i read and tried what i could find but i cant get the module up on the home page for nothing..
all is scripted as per instructions

i did make a change
Quote:

$photoplog_location = photoplog_schemehost.$vbulletin->options['photoplog_script_dir'];
to
Quote:

$photoplog_location = 'http://sinistergaming.com/photoplog';

jw00dy 02-06-2007 06:27 AM

Great Add-on, thank you!

BrettMo 03-04-2007 08:05 PM

Thanks for the mod. It was very easy to install if you follow the instructions exactly. (I made a mistake the first time I ran through them.)

I made some minor modifications that I wanted to share (my additions are in red):
1) Pulled the title by looking at the code to pull the description which was mentioned in an earlier post:
Quote:

$photoplog_username = $photoplog_file_info['username'];
$photoplog_title = htmlspecialchars_uni($photoplog_file_info['title']);

and then added the title as the ALT text on the image:

Quote:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=s\" border=\"0\" alt=\"".$photoplog_title."\" />


2) Also, a very easy change, I commented out the user who posted the pictures to save real estate.
Quote:

<!-- <tr>
<td class=\"alt2\" align=\"center\">
<div class=\"smallfont\">
".$vbphrase['posted_by']." <a href=\"".$photoplog_location."/index.php?".$vbulletin->session->vars['sessionurl']."u=".$photoplog_userid."\">".$photoplog_username. "</a>
</div>
</td>
</tr>-->

TheBlackPoet 03-06-2007 01:10 PM

i know i've already posted a thread concerning this issue, but being able to post a comment would really make this hack righteous!!... as of yet... i cannot..

GrendelKhan{TSU 03-07-2007 01:13 PM

Quote:

Originally Posted by maranello (Post 1146035)
Guys, someone please explain how to change the thumbnail size.

Quote:

Originally Posted by maranello (Post 1146049)
alright, i found the solution to change the thumb size:

open "photoplog_thumbs_horiz.php" file (or if you are using vertical one open "photoplog_thumbs_vert.php").

Find the line that starts with:

PHP Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->..... 

At the end you will see w=s\", make it w=1s\"

Again, at the end of the line, after border=\"0\" add width=\"yourchoice\" where yourchoice is the width you want. So in my case, that line looks like this:

PHP Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=1s\" border=\"0\" width=\"175\" /> 


THANK YOU!! I had given up on this request. :D
(not to be a pain...but if you can... how can control the height as well??? tried it by copying what you did..but ended up with an error, so undid it.)

Quote:

Originally Posted by BrettMo (Post 1195713)
Thanks for the mod. It was very easy to install if you follow the instructions exactly. (I made a mistake the first time I ran through them.)

I made some minor modifications that I wanted to share (my additions are in red):
1) Pulled the title by looking at the code to pull the description which was mentioned in an earlier post:


and then added the title as the ALT text on the image:


2) Also, a very easy change, I commented out the user who posted the pictures to save real estate.

thanks!!

GrendelKhan{TSU 03-08-2007 07:31 AM

doh!! messed up my efforts to control the height as well..

anyone? the width edit works great...but can't get the height to work.

dbirosel 03-10-2007 04:13 AM

Question: I edited and change the quantity of pics to show from 5 to 10. How come it doesn't wrap?? It just ran on in a row. I hate to use horizontal scrollbar. What's going on?

dbirosel 03-10-2007 04:38 AM

how can i create it to be 4x4 grid of pictures???

delinetci 03-10-2007 08:17 AM

thanks very good.

GrendelKhan{TSU 03-11-2007 05:26 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1198605)
doh!! messed up my efforts to control the height as well..

anyone? the width edit works great...but can't get the height to work.


anyone know how to add the code to control the height??


All times are GMT. The time now is 10:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01520 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete