vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PhotoPlog 1337 Thumbs (Just incase basic templates bore you.) (https://vborg.vbsupport.ru/showthread.php?t=111993)

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

Quote:

Originally Posted by Gizmo5h1t3
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:
Code:

        $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:
Code:


                $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

Quote:

Originally Posted by SHANE-D-PAIN
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

Quote:

Originally Posted by Gizmo5h1t3
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


All times are GMT. The time now is 02:08 AM.

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.01171 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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