The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Latest Album Pictures - Forum Home Details »» | |||||||||||||||||||||||||
Latest Album Pictures - Forum Home
It shows the pictures added to the albums on the main page. It shows only the public mentioned files. If not shows the reasons are: vbulletin settings show albums must be enabled. The user grup that owns the pictures must be enabled show picture setting. Or there is no picture to show. You can show the pictures in 4 different sections: Navbar Bellow, Forums Above, Forums Below, Whois Online Below Additionally you can slect the number of pictures that can be shown. Hope it works for you as I like it very much. Mark as Installed - Nominate for MOTM install Go to your admin cp, then: Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-afm.xml' from your computer then press 'Import' Modifications Info Plugin : 2 Phrases : 12 Template : 2 Setting : 3 Query : 1 Query Latest Posts Setting Go to your admin cp, then: vBulletin Options -> Latest Album Picture - Forum Home -> Versions: v1.0 - 28 March 2008 -First release v1.1 - 29 March 2008 - collapsible box - Display type "random, latest" v1.2 - 29 March 2008 - collapsible box on/off options v1.3 - 01 April 2008 - Small (template and phrase) change Show Your Support
|
Comments |
#402
|
|||
|
|||
Good work but a littlebit not-compatible with aqua-soft template in some positions
|
#403
|
|||
|
|||
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? |
#404
|
|||
|
|||
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 |
#405
|
|||
|
|||
the pictures dont show up.. with windows internet explorer
any ideas? |
#406
|
|||
|
|||
Works fine!
Thank you Lefteris |
#407
|
||||
|
||||
great .... but this code $lpicture[title]
apear the album name not picture name ? .. |
#408
|
|||
|
|||
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
|
#409
|
||||
|
||||
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'])
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 you must change the template "afm_picture". Use this variable wherever you want the title of the picture to be displayed: Code:
$lpicture[caption] Hope it helps! |
#410
|
|||
|
|||
Hello,
Will do Thanks |
#411
|
||||
|
||||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|