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)

dbirosel 03-11-2007 07:35 AM

i want to have a 5x5 grid!! How do i accomplish this!! :(

GrendelKhan{TSU 03-13-2007 03:24 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1200647)
anyone know how to add the code to control the height??

woot!~!! got it~!!!!

in "photoplog_thumbs.php_horiz.php' file:

this is how my code turned out to control width and height of thumbs:

Quote:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=1s\" border=\"0\" width=\"85\" height=\"85\" alt=\"".$photoplog_title."\" />
turns out just had to add the part in blue to control height too. (red parts are from the solutoin from maranello)

thanks all!! :D :D

alfisti 03-24-2007 06:24 PM

How can I insert a small note in the module???
Where I must add code???
Thanks

BrettMo 04-14-2007 02:15 AM

Some help with some SQL please...

I want to exclude a few galleries from showing up in the thumbs on my home page. How would I change the SQL to not pull pics from them? Thanks.

Current SQL:
PHP Code:

$photoplog_file_infos $db->query_read("SELECT *
                        FROM photoplog_fileuploads
                        WHERE moderate = 0
                        ORDER BY RAND()
                        LIMIT 4 


Majest 05-09-2007 06:49 AM

Installed*

EDIT: Never mind I figured it out. ;)

chrisbeau 05-13-2007 05:12 PM

I having trouble installing this, what Ive done:

Quote:

  • Uploaded to forum/modules
  • Created a new vB template (ACP -> Style Manager -> Add New Template)
    Title: adv_portal_photoplog_thumbs_horiz
    parent = (I set as none, then tried "cars" template)

  • Create a new vBa PHP File module (ACP -> vBa CMPS -> Add Module)
    Title: Horizontal Thumbs
    File: photoplog_thumbs_horiz.php
    Template: adv_portal_photoplog_thumbs_horiz

  • Enabled the module

And its still not appearing.

chrisbeau 05-13-2007 05:22 PM

Attachment 64271

Screen shot

chrisbeau 05-13-2007 08:08 PM

sorted

bodies 06-24-2007 09:39 PM

I cant for the life of me get this to work out.. here - http://www.zombiedown.com/photoplog/

it just continuously asks me to login.. but never does anything.

Im positive i have done everything correctly.. so if you could help me out it would be appreciated.

Ciderhelm 07-22-2007 11:54 AM

I am considering purchasing the Pro version. Will this particular adjustment work with that as well?

rickysaltzer 09-05-2007 05:53 AM

Quote:

Originally Posted by BrettMo (Post 1227165)
Some help with some SQL please...

I want to exclude a few galleries from showing up in the thumbs on my home page. How would I change the SQL to not pull pics from them? Thanks.

Current SQL:
PHP Code:

$photoplog_file_infos $db->query_read("SELECT *
                        FROM photoplog_fileuploads
                        WHERE moderate = 0
                        ORDER BY RAND()
                        LIMIT 4 


If you want to use a static Image, start by going to where the image is located using PhotoPlog, look at the URL , you'll notice at the end it says "n=x" x being the fileid #.

So, I just modified the SQL query to get only that image. Here is what I got

Code:

$photoplog_file_infos = $db->query_read("SELECT *
                                                FROM photoplog_fileuploads
                                                WHERE fileid = 4

4 being the x that was in my URL.

Hope this helps

JadedSouls 09-19-2007 08:36 PM

Great hack - thank you!

applyimage 10-01-2007 08:34 PM

Installed! fantastic!

Is there a way to direct my url www.applyimage.co.uk/forum to the new CMPS page(http://www.applyimage.co.uk/forum/home.php)?

JimmyJames 10-16-2007 12:17 AM

*Installed, thanks for the hack!

Digital Jedi 10-29-2007 06:19 AM

I realize that this mod is marked as unsupported, but does anyone happen to know why the thumbs are superseding the page thier on as the location on Who's Online? What I mean is, when viewing the index page, Who's Online shows it as "Viewing Photoplog" and then puts the direct URL to one of the thumbs. It this a problem with the mod or something else? If it matters, my CMPS is also my index page and the forums are not located in a subfolder.

beanymonster 12-09-2007 05:45 PM

Installed - works great - thank you

Stile2 12-17-2007 07:29 PM

Great Mod!!

Exactly what I was looking for, and easy to do.

Thanks

"Clicked as Installed"
:D

maniacop 12-22-2007 09:26 PM

Quote:

Originally Posted by applyimage (Post 1350965)
Installed! fantastic!

Is there a way to direct my url www.applyimage.co.uk/forum to the new CMPS page(http://www.applyimage.co.uk/forum/home.php)?

I have a question, how did you add the random pics bar on top of your forum home??

applyimage 01-10-2008 11:38 PM

Quote:

Originally Posted by maniacop (Post 1407115)
I have a question, how did you add the random pics bar on top of your forum home??

I can't remember atall =/ better asking here: http://www.photoplog.com/

Caerydd 02-09-2008 08:04 PM

Anyone know how to filter by category?

On different areas of my vba, I'd like to pull images from different categories, e.g. images from Activity A with the area about Activity A, and images from acitvity B with area about activity B?

Digital Jedi 02-10-2008 10:03 AM

Quote:

Originally Posted by Caerydd (Post 1439598)
Anyone know how to filter by category?


On different areas of my vba, I'd like to pull images from different categories, e.g. images from Activity A with the area about Activity A, and images from acitvity B with area about activity B?

If you do a search for my threads (same user same) on Photoplog.com, you can find where Morgan showed me how to do that with the regular thumbs. It also works if applied to these thumbs, though you might have to extrapolate to make it work the way you want.

Caerydd 02-10-2008 11:07 AM

Cheers, thanks :) I'll take a look see :D

Caerydd 02-10-2008 11:12 AM

Okies, for anyone else interested in filtering thumbs only from certain categories, the thread DJ refers to is here: http://www.photoplog.com/forum/showt...egories&page=2

I'll have to do some digging around, as I need totally different categories for different pages, rather than filtering out a specific channel as DJ needed.

Digital Jedi 02-10-2008 11:49 AM

I'm thinking if you need to specific images for a specific forum, you can have a separate module for each page and filter out everything else accordingly. But then, I haven't done the separate pages thing very much on my vBa, but I would think theoretically it should work.

Caerydd 02-10-2008 12:09 PM

Hmm. Yeah, makes sense. *faceplam* I've never duplicated a module before, so it didn't occur to me.

Cheers!

Caerydd 02-10-2008 04:25 PM

As DJ said :)


Make a copy of the original .php file (either vertical or horizontal) and rename it.

Find the following, and add the stuff in red - change the numbers to whatever categories you want to include.

Code:

        $photoplog_file_infos = $db->query_read("SELECT *
                                                FROM photoplog_fileuploads
                                                WHERE moderate = 0 AND catid IN (2,5)
                                                ORDER BY RAND()
                                                LIMIT 5


xgromx 02-25-2008 12:21 PM

Is there a way to remove the Posted By portion on the module? What code need to be removed to just show the photos and not who posted them?

abroad 03-18-2008 10:33 AM

Is it possible just to show a specific category in the Gallery in the thumbs????

Digital Jedi 03-20-2008 07:04 PM

Quote:

Originally Posted by abroad (Post 1467833)
Is it possible just to show a specific category in the Gallery in the thumbs????

Yes, read what Caerydd posted just two posts above yours.

abroad 03-20-2008 08:35 PM

oh...guess I had tomatoes on my eyes...thanks ::)

Conner85 04-05-2008 12:03 AM

I get this error when I try to upload anything.

Code:

Fatal error: Call to undefined function imagetypes() in /home/user/public_html/directory/subdirectory/photoplog/functions.php on line 36
And the line number changes with the different file types.

heeroyun 04-24-2008 06:08 AM

Thanks a lot , This will help me out

al.vb 05-30-2008 06:08 AM

i followed all instructions, uploaded the file etc...

I get "horizontal Thumbs" template shown but its empty, no pics in it.

What could it be? Thanks for help.

Edit: for some short time 5 pics were there and then it disappeared again

JollyJack 06-17-2008 06:40 PM

Does this work photplog 2.0.7 vb3.7.1 and vba 3?

bitwise2000 07-25-2008 10:44 PM

Not to sound like a broken record, but should this work with vB 3.7, vBa 3 and PhotoPlog PRO?

Doesn't work with my install...

Renny 07-25-2008 11:06 PM

Ive tried to install this mod but whenever i try and login to the index it just keeps reloading and not login in.

how can i fix it?

the root of the photoblog .co.uk/photoplog/index.php

dismas 10-18-2008 03:37 AM

I had the vertical version of this all set up and running fine on my 3.6.10 vB with vBa 3.01 and Photoplog Pro. I just upgraded last night to vB 3.6.11 PL1 and this has ceased working. I even took out everything, the module and the template, then put them back just like the instructions say and it still doesn't work.

Do you know what changed from 3.6.10 to 3.6.11 that would have broken this mod? You can view what it's doing here.

Goomzee 01-19-2009 09:26 AM

i did everything after reda above instruation but this Mod is not working currently i am using v.b. 3.7


All times are GMT. The time now is 06:34 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.01314 seconds
  • Memory Usage 1,818KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)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
  • (38)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