The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||
NEW 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. Additionally you can slect the number of pictures that can be shown. Hope it works for you as I like it very much. install Go to your admin cp, then: Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-newalbum.xml' from your computer then press 'Import' Modifications Info Plugin : 2 Phrases : 9 Template : 2 Setting : 3 Query : 1 Query Latest Posts Setting Go to your admin cp, then: vBulletin Options -> New Album Picture -> Versions: v1.0 -First release Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
alhidaya, Toorak Times |
Comments |
#302
|
||||
|
||||
![]()
Did you remove an old installation? Including the plugins and template files?
|
#303
|
|||
|
|||
![]()
i did uninstall the old one? what else do i need to do???
|
#304
|
||||
|
||||
![]()
OK, here is all the files, and how they should look.
New Posting Templates -> newalbum_picture: Code:
<td align="center" height="140px" style="background: url('images/misc/picbg.gif') no-repeat bottom; height:125px"><a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&attachmentid={vb:raw lpicture.attachmentid}"><img src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&thumb=1&d=1258906442" alt="{vb:raw lpicture.title}" border="0" height="70px" /></a><br /><a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a></td> Code:
<div class="blockhead"><img src="{vb:stylevar imgdir_misc}/camera.png"/> {vb:raw resimlery}</div><div class="blockbody formcontrols floatcontainer"><table class="block" cellpadding="2" cellspacing="2" border="0" width="100%" align="center"><tr>{vb:raw resimler}</tr></table></div> New Album Picture Forum Home ->> forumhome_start ->> Edit Paste the following code in the plugin php code box: Code:
if ( ( $vbulletin->options['socnet'] & $vbulletin->bf_misc_socnet['enable_albums'] AND $permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canviewmembers'] AND $permissions['albumpermissions'] & $vbulletin->bf_ugp_albumpermissions['canviewalbum'] AND $vbulletin->options['new_enable_albums'] ) ) { $displayrecords = ($vbulletin->options['new_afm_sayi'] ? $vbulletin->options['new_afm_sayi'] : 4); switch ($vbulletin->options['new_afm_dt']) { case 1: $sorgu = "ORDER BY dateline DESC LIMIT 0, $displayrecords"; $resimlery = $vbphrase['new_afm_sec5']; break; case 2: $sorgu = "ORDER BY rand(NOW()) DESC LIMIT 0, $displayrecords"; $resimlery = $vbphrase['new_afm_sec6']; break; } $lpictures = $db->query(" SELECT albumpicture.*, album.*, user.username, user.usergroupid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid FROM " . TABLE_PREFIX . "attachment AS albumpicture LEFT JOIN " . TABLE_PREFIX . "album AS album ON(album.albumid = albumpicture.contentid) LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = album.userid) WHERE album.state = 'public' and albumpicture.contenttypeid = 8 $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') . '";'); $templater_x1 = vB_Template::create('newalbum_picture'); $templater_x1->register('lpicture',$lpicture); $resimler .= $templater_x1->render(); } $templater = vB_Template::create('newalbum_print'); $templater->register('resimler',$resimler); $templater->register('resimlery',$resimlery); $template_hook['forumhome_above_forums'] .= $templater->render(); } $db->free_result($lpictures); } Hope this helps. |
#305
|
|||
|
|||
![]()
i did all correct yet its etting 2 lines of album
![]() |
#306
|
|||
|
|||
![]()
kindly check attached
|
#307
|
||||
|
||||
![]()
It is only one out of your four skins that has the double row problem.
The mod is working ok. |
#308
|
|||
|
|||
![]()
Hello colleagues, I need a help!
The blocks of the forum are superimposed on the thumbnails of this plugin. I like to put the right blocks on the side of the forums block, as shown in red line. Can anyone help me do this? The layout is drastically compromised. Thanks in advance. Grettings and Happy 2011! See the image: ![]() |
#309
|
||||
|
||||
![]() Quote:
Code:
<div id="pagetitle"> <h1>{vb:raw vboptions.bbtitle}</h1> <p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p> </div> Code:
{vb:raw template_hook.forumhome_above_forumsandsidebar} New Album Picture Forum Home Forumhome_start Click edit, and look near the bottom of the php code for: Code:
forumhome_above_forums Code:
forumhome_above_forumsandsidebar I think its about time this was re written with options in ACP. Not seen the original author around here though. NNJJ I would need to see your forumhome template code to see what the problem with your skin is. |
#310
|
|||
|
|||
![]()
Davey!!!
thank you sooooooooooo much for help it was style issue ![]() |
#311
|
|||
|
|||
![]()
some of my users that use internet explorer see red crosses and no image chrome is oke firefox is oke only not internet explorer
,i dont get it |
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|