Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Gallery
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #73
RE: Gallery
I use frogjs for that. You can find it here:
http://www.puidokas.com/portfolio/frogjs/

Assuming you already created the XThreads Gallery:

Upload the frog.js to your jscripts/ dir/folder.

Edit the Gallery forum, change the Template Prefix to:

Code:
<if $mybb->input['view'] == 'slideshow' then>galss_,</if>gal_


Add these templates to your Global Templates:

  • galss_forumdisplay_threadlist

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    <div class="float_left">
    	{$multipage}
    </div>
    <div class="float_right" style="margin-bottom: 4px;">
    	{$newthread}
    </div>
    <div id="FrogJS">
    	{$threads}
    </div>
    <script type="text/javascript">
    <!--
    	var ribbit = document.getElementById('FrogJS');
    	// Adds loading message to FrogJS DIV
    	ribbit.innerHTML += 'Please wait while gallery loads<br /><img src="images/loading.gif" />';
    	// Hides thumbnails while gallery loads
    	var anchors = ribbit.getElementsByTagName('a');
    	for (var i=0; i<anchors.length; i++){
    		anchors[i].style.display = 'none';
    	}
    -->
    </script>
    <br class="clear" />
    <div class="float_left">
    	{$multipage}
    </div>
    <br style="clear: both;" />
    <br />
    <div class="float_right" style="text-align: right;">
    	{$inlinemod}
    	{$forumjump}
    </div>
    <br style="clear: both" />
    {$inline_edit_js}
    <div style="text-align: center;" class="smalltext">
    {$foruminfo['name']}<br />
    Powered by: <a href="http://mybbhacks.zingaburga.com">XThreads</a> &ndash; <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a>
    </div>

  • galss_forumdisplay

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    <html>
    <head>
    <title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
    {$headerinclude}
    <script type="text/javascript" src="jscripts/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="jscripts/frog.js"></script>
    {$rssdiscovery}
    <script type="text/javascript">
    <!--
    	lang.no_new_posts = "{$lang->no_new_posts}";
    	lang.click_mark_read = "{$lang->click_mark_read}";
    // -->
    </script>
    <style type="text/css">
    #FrogJS{
    	width: 100%;
    	height: 350px;
    	margin: 0 auto;
    }
    #FrogJSCredit{
    	text-align: right;
    	font-size: 80%;
    	color: #999;
    	padding: 1px;
    }
    #FrogJSCaption{
    	text-align: left;
    	line-height: 140%;
    }
    </style>
    </head>
    <body>
    {$header}
    {$moderatedby}
    {$usersbrowsing}
    {$rules}
    {$subforums}
    {$threadslist}
    {$footer}
    </body>
    </html>

  • galss_forumdisplay_group_sep
    Leave it blank.
  • galss_forumdisplay_thread

    HTML Code
    <a href="{$GLOBALS['threadfields']['gal_img']['thumbs']['320x240']['url']}" title="{$thread['subject']}" rel="{$thread['threadlink']}">
    	<img src="{$GLOBALS['threadfields']['gal_img']['thumbs']['160x120']['url']}" alt="{$thread['postpreview']}" />
    </a>

  • galss_multipage_end

    HTML Code
    {$lang->multipage_link_end} <a href="{$page_url}&amp;view=slideshow" class="pagination_last">{$pages}</a>

  • galss_multipage_nextpage

    HTML Code
    <a href="{$page_url}&amp;view=slideshow" class="pagination_next">{$lang->next} &raquo;</a>

  • galss_multipage_page

    HTML Code
    <a href="{$page_url}&amp;view=slideshow" class="pagination_page">{$i}</a>

  • galss_multipage_page_link_current

    HTML Code
     <a href="{$page_url}&amp;view=slideshow" class="pagination_current">{$i}</a>

  • galss_multipage_prevpage

    HTML Code
    <a href="{$page_url}&amp;view=slideshow" class="pagination_previous">&laquo; {$lang->previous}</a>

  • galss_multipage_start

    HTML Code
    <a href="{$page_url}&amp;view=slideshow" class="pagination_first">1</a> {$lang->multipage_link_start}


Maybe you need to put the link to the "Slideshow Mode" manually in your gal_forumdisplay_threadlist template.
The URL is something like this:

HTML Code
<a href="{$forumurl_q}view=slideshow">Slideshow Mode</a>


Here is the similar results:
Gallery Mode: http://xtest.byethost7.com/forumdisplay....http://xtest.byethost7.com/forumdisplay.php?fid=3&filt
Slideshow Mode: http://xtest.byethost7.com/forumdisplay....http://xtest.byethost7.com/forumdisplay.php?fid=3&filterxt_uid=1&view

Gallery Mode: http://xtest.byethost7.com/forumdisplay....http://xtest.byethost7.com/forumdisplay.php?fid=3&filt
Slideshow Mode: http://xtest.byethost7.com/forumdisplay....http://xtest.byethost7.com/forumdisplay.php?fid=3&filterxt_uid=2&view


01-18-2012 04:03 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Gallery - ZiNgA BuRgA - 04-22-2010, 08:56 PM
RE: Gallery - Pirata Nervo - 05-02-2010, 04:40 AM
RE: Gallery - ZiNgA BuRgA - 05-02-2010, 09:17 AM
RE: Gallery - Pirata Nervo - 05-02-2010, 10:21 AM
RE: Gallery - ZiNgA BuRgA - 05-02-2010, 10:53 AM
RE: Gallery - Pirata Nervo - 05-02-2010, 06:39 PM
RE: Gallery - ZiNgA BuRgA - 05-02-2010, 07:23 PM
RE: Gallery - Pirata Nervo - 05-02-2010, 07:28 PM
RE: Gallery - alvarorojas4 - 05-23-2010, 03:28 AM
RE: Gallery - AglioEoliO - 07-10-2010, 10:27 PM
RE: Gallery - patrese - 09-12-2010, 12:26 AM
RE: Gallery - RateU - 09-12-2010, 02:29 AM
RE: Gallery - patrese - 09-12-2010, 03:35 AM
RE: Gallery - RateU - 09-12-2010, 06:14 AM
RE: Gallery - ZiNgA BuRgA - 09-12-2010, 08:22 AM
RE: Gallery - patrese - 09-12-2010, 08:28 AM
RE: Gallery - ZiNgA BuRgA - 09-12-2010, 08:30 AM
RE: Gallery - patrese - 09-12-2010, 09:03 AM
RE: Gallery - ZiNgA BuRgA - 09-12-2010, 09:05 AM
RE: Gallery - patrese - 09-12-2010, 09:10 AM
RE: Gallery - leefish - 09-12-2010, 09:48 AM
RE: Gallery - matulek - 10-11-2010, 07:54 AM
RE: Gallery - RateU - 10-11-2010, 09:26 AM
RE: Gallery - kaixer - 12-27-2010, 03:16 PM
RE: Gallery - RateU - 12-28-2010, 03:43 AM
RE: Gallery - kaixer - 12-28-2010, 04:53 AM
RE: Gallery - RateU - 12-28-2010, 05:15 AM
RE: Gallery - leefish - 12-28-2010, 05:52 AM
RE: Gallery - RateU - 12-28-2010, 08:24 AM
RE: Gallery - ZiNgA BuRgA - 12-28-2010, 02:54 PM
RE: Gallery - RocketFoot - 12-28-2010, 09:42 PM
RE: Gallery - leefish - 12-29-2010, 12:28 AM
RE: Gallery - RocketFoot - 12-29-2010, 12:36 AM
RE: Gallery - RateU - 01-24-2011, 04:10 AM
RE: Gallery - x-Treme - 01-24-2011, 10:12 AM
RE: Gallery - RateU - 01-25-2011, 02:48 AM
RE: Gallery - ReaXion - 01-25-2011, 06:22 AM
RE: Gallery - RateU - 01-25-2011, 06:40 AM
RE: Gallery - ReaXion - 01-25-2011, 07:13 AM
RE: Gallery - RateU - 01-25-2011, 08:48 AM
RE: Gallery - sanjananb - 02-16-2011, 03:45 AM
RE: Gallery - ZiNgA BuRgA - 02-16-2011, 09:48 AM
RE: Gallery - RateU - 02-22-2011, 07:37 AM
RE: Gallery - kyuubie - 01-17-2012, 08:18 PM
RE: Gallery - ZiNgA BuRgA - 02-22-2011, 07:54 AM
RE: Gallery - RateU - 02-23-2011, 05:57 AM
RE: Gallery - Chemical Accident - 07-19-2011, 02:49 AM
RE: Gallery - RateU - 07-19-2011, 03:56 AM
RE: Gallery - Chemical Accident - 07-19-2011, 04:48 AM
RE: Gallery - RateU - 07-20-2011, 08:02 AM
RE: Gallery - Intex - 09-26-2011, 07:10 AM
RE: Gallery - RateU - 09-26-2011, 07:23 AM
RE: Gallery - Intex - 09-27-2011, 03:09 AM
RE: Gallery - RateU - 09-27-2011, 03:52 AM
RE: Gallery - Intex - 09-28-2011, 07:10 AM
RE: Gallery - CCG - 10-23-2011, 03:56 AM
RE: Gallery - RateU - 10-23-2011, 04:07 AM
RE: Gallery - CCG - 10-23-2011, 04:10 AM
RE: Gallery - RateU - 10-23-2011, 04:14 AM
RE: Gallery - CCG - 10-23-2011, 04:19 AM
RE: Gallery - RateU - 10-23-2011, 04:27 AM
RE: Gallery - CCG - 10-23-2011, 04:37 AM
RE: Gallery - RateU - 10-23-2011, 04:55 AM
RE: Gallery - CCG - 10-23-2011, 04:57 AM
RE: Gallery - RateU - 10-23-2011, 05:02 AM
RE: Gallery - CCG - 10-23-2011, 05:07 AM
RE: Gallery - RateU - 10-23-2011, 05:40 AM
RE: Gallery - CCG - 10-23-2011, 05:52 AM
RE: Gallery - RateU - 10-23-2011, 06:03 AM
RE: Gallery - CCG - 10-23-2011, 06:09 AM
RE: Gallery - kyuubie - 01-17-2012, 03:08 PM
RE: Gallery - ZiNgA BuRgA - 01-17-2012, 04:07 PM
RE: Gallery - RateU - 01-18-2012 04:03 AM
RE: Gallery - kyuubie - 01-18-2012, 06:48 PM
I despair at the gallery - Artiv - 01-20-2012, 02:28 AM
RE: Gallery - ZiNgA BuRgA - 01-20-2012, 07:32 AM
RE: Gallery - Artiv - 01-21-2012, 06:52 AM
RE: Gallery - ZiNgA BuRgA - 01-21-2012, 08:06 AM
RE: Gallery - Artiv - 01-21-2012, 06:29 PM
RE: Gallery - ZiNgA BuRgA - 01-22-2012, 09:04 AM
RE: Gallery - Artiv - 01-23-2012, 05:14 AM
RE: Gallery - ZiNgA BuRgA - 01-23-2012, 10:31 AM
RE: Gallery - Yin - 03-07-2012, 03:48 PM
RE: Gallery - RateU - 03-08-2012, 07:28 AM
RE: Gallery - Yin - 03-08-2012, 08:26 AM
RE: Gallery - ZiNgA BuRgA - 03-08-2012, 11:03 AM
RE: Gallery - Yin - 03-08-2012, 11:36 AM
RE: Gallery - thezeus - 03-23-2012, 06:53 AM
RE: Gallery - RateU - 03-24-2012, 04:52 AM
RE: Gallery - h993011 - 06-06-2012, 06:00 PM
RE: Gallery - ZiNgA BuRgA - 06-06-2012, 09:57 PM
RE: Gallery - FullMetalBabe - 06-26-2012, 01:54 AM
RE: Gallery - RateU - 06-26-2012, 02:43 AM
RE: Gallery - FullMetalBabe - 06-26-2012, 04:20 AM
RE: Gallery - lucasbytegenius - 07-27-2012, 05:05 AM
RE: Gallery - Glas - 07-27-2012, 05:39 AM
RE: Gallery - lucasbytegenius - 07-27-2012, 06:12 AM
RE: Gallery - ZiNgA BuRgA - 07-27-2012, 07:50 AM
RE: Gallery - gakho - 08-13-2012, 10:38 PM
RE: Gallery - RateU - 08-14-2012, 03:12 AM
RE: Gallery - WhiteEagle - 08-14-2012, 09:57 AM
RE: Gallery - nier3 - 11-14-2012, 01:18 AM
RE: Gallery - ZiNgA BuRgA - 11-17-2012, 06:59 PM
RE: Gallery - nier3 - 02-05-2013, 04:17 AM
RE: Gallery - wethegreenpeople - 12-16-2012, 01:19 PM
RE: Gallery - ZiNgA BuRgA - 02-05-2013, 09:28 AM
RE: Gallery - nier3 - 02-05-2013, 12:00 PM
RE: Gallery - Mantis - 03-03-2013, 08:57 AM
RE: Gallery - ZiNgA BuRgA - 03-03-2013, 10:34 AM
RE: Gallery - Mantis - 03-03-2013, 10:41 AM
RE: Gallery - ZiNgA BuRgA - 03-03-2013, 11:59 AM
RE: Gallery - Mantis - 03-04-2013, 05:24 AM
RE: Gallery - ronggiabattu - 03-10-2013, 01:56 AM
RE: Gallery - RateU - 03-11-2013, 12:53 AM
RE: Gallery - ronggiabattu - 03-12-2013, 01:48 AM
RE: Gallery - TheDiamant953 - 06-12-2013, 12:14 AM
RE: Gallery - ZiNgA BuRgA - 06-12-2013, 10:53 AM
RE: Gallery - TheDiamant953 - 06-12-2013, 11:04 PM
RE: Gallery - ZiNgA BuRgA - 06-13-2013, 09:21 AM
RE: Gallery - TheDiamant953 - 06-13-2013, 10:42 AM
RE: Gallery - Jonatthu - 07-21-2013, 06:58 AM
RE: Gallery - Gekku - 07-31-2013, 10:09 PM
RE: Gallery - RateU - 08-01-2013, 02:05 AM
RE: Gallery - dthiago - 08-23-2013, 10:31 AM
RE: Gallery - dthiago - 10-17-2013, 02:21 AM
RE: Gallery - ZiNgA BuRgA - 10-17-2013, 03:13 PM
RE: Gallery - joshitatoo - 11-27-2013, 05:25 PM
RE: Gallery - RateU - 11-06-2015, 08:27 AM
RE: Gallery - Destroy666 - 06-24-2016, 11:25 PM
RE: Gallery - Waleed - 11-06-2015, 02:56 PM
RE: Gallery - Waleed - 11-07-2015, 03:51 AM
RE: Gallery - RateU - 11-07-2015, 04:19 AM
RE: Gallery - ZiNgA BuRgA - 11-07-2015, 10:45 AM
RE: Gallery - RateU - 11-08-2015, 12:31 AM
RE: Gallery - ZEUZ - 04-10-2016, 11:54 AM
RE: Gallery - Hiker - 04-14-2016, 11:40 PM
RE: Gallery - ZiNgA BuRgA - 06-22-2016, 05:23 PM
RE: Gallery - mrdangem - 07-10-2016, 10:56 AM
RE: Gallery - Wally - 02-02-2017, 10:29 AM
RE: Gallery - RateU - 02-03-2017, 01:40 AM
RE: Gallery - lenox - 03-11-2018, 10:06 PM
RE: Gallery - RateU - 03-11-2018, 11:53 PM
RE: Gallery - lenox - 03-12-2018, 01:50 AM
RE: Gallery - RateU - 03-12-2018, 04:02 AM
RE: Gallery - blacksword - 03-16-2022, 12:26 AM
RE: Gallery - c.widow - 06-03-2022, 05:01 PM
RE: Gallery - poeja - 02-01-2024, 02:08 PM

 Standard Tools
Forum Jump: