vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Latest Album Pictures - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=174445)

gim 10-31-2008 06:23 PM

Good work but a littlebit not-compatible with aqua-soft template in some positions :(

Cocko 10-31-2008 07:04 PM

I'd like to ask again how to limit showing pictures only from specified usergroups
Best way would be by ACP, but also interessting with a short snippet manuelly?

Who can help?

Jespah 11-02-2008 09:45 PM

Quote:

Originally Posted by manuelsechi (Post 1655910)
does it works for registered users only?

I have the same question - the gallery can only be seen by logged-in members, I want it to "snag' new people into looking further into my site.

Jespah

rob01 11-02-2008 09:57 PM

the pictures dont show up.. with windows internet explorer
any ideas?

:(

Lefteris (Athen 11-03-2008 03:16 PM

Works fine! :)
Thank you
Lefteris

Mr.samy 11-03-2008 03:34 PM

great .... but this code $lpicture[title]

apear the album name not picture name ? ..

Come2Daddy 11-04-2008 04:46 PM

I was about to suggest that you make it random instead of latest, then I found that option in the hack option, thanx a lot, great work :)

geckoz 11-05-2008 12:12 PM

Hey all! I'm a newbie but I fixed this picture title problem. To show the picture title of an image you will have to change a few lines in the file product-afm.xml. This is what I did:

open the file product-afm.xml in a text editor and find this:

Code:

  $lpictures = $db->query("
  SELECT albumpicture.*, album.*, user.username, user.usergroupid,
  IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
  FROM " . TABLE_PREFIX . "albumpicture AS albumpicture
  LEFT JOIN " . TABLE_PREFIX . "album AS album ON(album.albumid = albumpicture.albumid)
  LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = album.userid)
  WHERE album.state = 'public'
  $sorgu 
  ");
  if ($db->num_rows($lpictures))
  {
        while ($lpicture = $db->fetch_array($lpictures))
        {
        $lpicture['musername'] = fetch_musername($lpicture);
        $lpicture['title'] = trim(strip_quotes($lpicture['title']));
        eval('$resimler .= "' . fetch_template('afm_picture') . '";');
        }
    switch ($vbulletin->options['afm_yer'])

and replace it with this:

Code:

  $lpictures = $db->query("
  SELECT albumpicture.*, album.*, picture.caption, user.username, user.usergroupid,
  IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
  FROM " . TABLE_PREFIX . "albumpicture AS albumpicture
  LEFT JOIN " . TABLE_PREFIX . "album AS album ON(album.albumid = albumpicture.albumid)
  LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = album.userid)
  LEFT JOIN " . TABLE_PREFIX . "picture AS picture ON(picture.pictureid = albumpicture.pictureid)
  WHERE album.state = 'public'
  $sorgu 
  ");
  if ($db->num_rows($lpictures))
  {
        while ($lpicture = $db->fetch_array($lpictures))
        {
        $lpicture['musername'] = fetch_musername($lpicture);
        $lpicture['title'] = trim(strip_quotes($lpicture['title']));
        $lpicture['caption'] = trim(strip_quotes($lpicture['caption']));
        eval('$resimler .= "' . fetch_template('afm_picture') . '";');
        }
    switch ($vbulletin->options['afm_yer'])

Then upload / update the addon.

Then you must change the template "afm_picture". Use this variable wherever you want the title of the picture to be displayed:

Code:

$lpicture[caption]
It works for me! DEMO: Sims 3 Forum

Hope it helps!

porscheman170 11-05-2008 04:24 PM

Hello,

Will do
Thanks

Digital Jedi 11-07-2008 04:42 AM

Code:


       
Quote:

       
       
               
       
       

                       

                       
                               

                                        Originally Posted by porscheman170
                                        (Post 1659983)
                               

                               
Hello,
 
Just wanted to warn everybody and the coder of this script that there is a serious security issue with it. My website got hacked last night through this script. Please contact me for more info porscheman170 at gmail
 
Thanks

                       
                       

               

Then it's probably not the wisest thing to announce it in this
thread, as you just alerted every hacker who reads this that
everyone who has it installed is now a potential target.
You should contact vB.org with the potential problem and
they'll take care of it with those who have installed privately.


raja811 11-09-2008 11:04 PM

thankyou

effeff70 11-12-2008 06:27 PM

Great....I Love....

THX a lot

ArnyVee 11-12-2008 06:59 PM

Should we have any issues based on porscheman170's report a few days ago?

Come2Daddy 11-16-2008 02:48 PM

it caused me a problem, with version 3.7.4

it's here in this thread:

http://www.vbulletin.com/forum/showthread.php?t=291243

any suggestion or solution?

FYC Racing 11-17-2008 08:43 PM

i would love to have this mod for 3.7.4 free bump

zeus_r6 11-17-2008 09:57 PM

Has anyone figured out how to shrink down the thumbnails yet?

zeus_r6 11-17-2008 11:13 PM

Quote:

Originally Posted by Digital Jedi (Post 1660982)
Code:


 
Then it's probably not the wisest thing to announce it in this
thread, as you just alerted every hacker who reads this that
everyone who has it installed is now a potential target.
You should contact vB.org with the potential problem and
they'll take care of it with those who have installed privately.


shall I worry about my boards being hacked now?

Desi-Home 11-22-2008 02:01 AM

Can you do something to display Latest Albums ONLY.. not the latest pictures inside a latest albums.. I'm saying number of latest Albums added.. so we set how many we want to display like its now 5 so it shows latest 5 pictures.. i want to show latest 5 albums... help please..

momo2 11-22-2008 05:57 PM

Very nice thanks, can the size be adjusted from panel ?

xcesivvs 11-23-2008 01:35 AM

In the forum i am trying to install this mod.

i cant seem to get it to work on my template. Can anyone help with wat i need to do

thank you

http://forum.cruznstreeterz.com/index.php

BobbyDiesel 11-23-2008 02:13 AM

What's the problem? This is the easy mod ever. Simply Import XML and you're set. Go into vbulletins options for settings.

zombietom 11-26-2008 01:23 PM

Great! Installed and Nominate for MOTM

IPAULR 11-26-2008 09:00 PM

Thanks great mod easy install

punchbowl 11-26-2008 09:02 PM

It would take it to the next level if guests could see the thumbnails but not the full images. Great mod.

imports 11-28-2008 02:15 AM

installed

WebCraker 11-29-2008 08:36 AM

thank you it's great ;)
Marked as installed

kotlt99 11-29-2008 10:18 AM

i have a small question, does images is hosted in current server or another hosting , like imageshack.us ?

punchbowl 11-29-2008 10:30 AM

Quote:

Originally Posted by kotlt99 (Post 1675083)
i have a small question, does images is hosted in current server or another hosting , like imageshack.us ?

images from your user galleries, hosted on your server

2L8 11-29-2008 02:22 PM

thx it works fine

johnlittle 11-29-2008 03:29 PM

where is the allalbum.php file? it usually show on the navbar?

GSeybold 12-02-2008 03:47 AM

All permission settings are set but guests still cannot view. No such luck getting guest permission to work. Any suggestions? This is a great addition and I hope someone will respond soon. Thank you .

GSeybold 12-02-2008 04:38 AM

EUREKA! Figured it out! You have to set "Can view Member info" as well as "view album". Good news is that it does not expose the entire profile, just photos.

GSeybold 12-02-2008 10:53 AM

Crap I was wrong it does open the memberlist/profile to guests.

GSeybold 12-02-2008 11:04 AM

Anyone have a solution to this or am I going to have to wait weeks for the right answer?:(

macc 12-02-2008 02:40 PM

nice mod - thanks

@GSeybold try to put link in navybar that only members (mean reg. members) can see - guest will not see link and not come to members profile!


regards

macc

GSeybold 12-02-2008 03:08 PM

Thank you Macc. That's a good thought. My tech support also installed a profile privacy settings as well.

Thanks again for your reply!

jlew24asu 12-04-2008 01:45 PM

maybe in a future version....

a randomize option? so the pictures shown on forum home change everytime one comes back and forth to forum home?

I found this https://vborg.vbsupport.ru/showthrea...ghlight=random but has a poor rating and I'mnot sure how to install it

Gamelobby 12-09-2008 03:57 AM

Quote:

Originally Posted by zeus_r6 (Post 1667763)
Has anyone figured out how to shrink down the thumbnails yet?

Yea i just read all 30 pages, & still cant fix the thumbnails.!? :mad:
I've seen a few possible places to look, but even if i check there.. the option isn't there. i dont see hight & width sizes, just "100%"

I cant believe that everyone just installs and it works perfectly, WHY is mine so fuked up..?
my thumbnails are up to 300 wide.!

And now my shoutbox doesn't work..!?

asabet 12-09-2008 01:06 PM

Great mod. Thanks for this! Marked as installed.

delmarva 12-12-2008 08:23 PM

I couldn't find it in the first 30 pages, but is there any way to add this to other pages on the site? I wouldn't mind all of them if possible.


All times are GMT. The time now is 10:04 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.01576 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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