Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Article Gallery
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #11
RE: Article Gallery
At first I was not sure what you meant by the sorters, but if you mean the sort by last post , order descending by date etc (provided as standard in MYBB) then yes, this pagination issue occurs there too.


[Image: leelink.gif]
MYBB1.6 & XThreads
06-18-2010 10:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sept Offline
Junior Member
**
Posts: 16
Joined: Jun 2010
Post: #12
RE: Article Gallery
Hey rateu the tables gets broken if you stick a thread..
06-24-2010 09:05 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #13
RE: Article Gallery
Argh... I never thought about the sticky thread. Thanks, Sept Smile

Create templates:
  • Template Name: atcgal_forumdisplay_threads_sep
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    	<tr>
    		<td class="thead" align="center">
    			<div><strong>Normal Articles</strong></div>
    		</td>
    	</tr>
    </table>
    <br />

  • Template Name: atcgal_forumdisplay_sticky_sep
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    	<tr>
    		<td class="thead" align="center">
    			<div><strong>Important Articles</strong></div>
    		</td>
    	</tr>
    </table>
    <br />


I've updated the example.

(This post was last modified: 06-25-2010 01:54 AM by RateU.)
06-25-2010 01:32 AM
Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #14
RE: Article Gallery
are you going to make this into a plugin?
07-26-2010 09:24 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #15
RE: Article Gallery
Hmm, its an X thread template - you follow the instructions to use it in Xthreads. The beauty of this example from RateU is that you can see how he has made it and then edit to your own wishes - actually better than a plug in IMO.

Of course, I can't answer on behalf of RateU, and  its just my opinion that the great thing about Xthreads is that the only limit is our ability to see what can be done with the XThreads plug in using HTML and css, rather than just installing a set up via another plug in. This method gives us the flexibility to "tweak" the examples to get a custom solution.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 07-26-2010 11:08 AM by leefish.)
07-26-2010 11:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #16
RE: Article Gallery
Hi, Just joined and completed this tutorial.  I'm loving it so far, but I cant figure a few things out.  First, my Categories seem to link back to the main forum page when clicked.

Second, when I try to hide the forum in the edit forum settings, the entire category disappears.

Link: http://www.7173mustangs.com/forum-the-7173-wiki

(should be visible to guests)

Also, how can I make the categories single choice only when creating a thread?

Thanks!
(This post was last modified: 07-30-2010 05:42 AM by RocketFoot.)
07-30-2010 05:30 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #17
RE: Article Gallery
(07-30-2010 05:30 AM)RocketFoot Wrote:  my Categories seem to link back to the main forum page when clicked.

How stupid I'm. Yeah, I did it wrong in atcgal_forumdisplay_threadlist template. Using wrong key for the filtering URL in that template.

Find this code in atcgal_forumdisplay_threadlist template (line #20 - #22):

Code:
agalcat


Change to:

Code:
atcgal


Thanks, RocketFoot. And I'm really sorry for the mistake Biggrin I've updated my first post.

(07-30-2010 05:30 AM)RocketFoot Wrote:  Second, when I try to hide the forum in the edit forum settings, the entire category disappears.
(should be visible to guests)

Try to set the forum order, so, the forum order is not the last forum in that category. I think you have 7 forums under the Tech Forums category, and the The 7173 Wiki forum is the last forum there (the 7th forum). Try to set it to lower order, e.g: 6. Just make the The 7173 Wiki forum not the latest forum in the Tech Forums category. I don't know why this happens if we hide the latest forum in a category.


(07-30-2010 05:30 AM)RocketFoot Wrote:  Also, how can I make the categories single choice only when creating a thread?

You need to edit theCategory  Custom Thread Fields for that. Something like this:
  • Title: Category
  • Key: atcgal
  • Description: Choose category for this article (required). You can choose more than one category.
  • Applicable Forums: 'select the forum where we will apply this article gallery.
  • Input Field Type: Listbox / Option Buttons
    We are not allowing user to choose more than one category per article.
  • Field Input Height: 1 If you choose Listbox at the Input Field Type settings above
  • Values List:

    Code:
    Music
    Games
    Other

    Modify it as our needs.

  • Editable by / Required Field?: Everyone (required)
  • Display Order: 1
  • Allow Filtering: Yes
    With this option = Yes, we can filter our articles based on their categories.
  • Display Format:

    Code:
    Category: {VALUE}

  • Allow multiple values for this field: No
  • Formatting Map List:

    HTML Code
    Music{|}<a href="{$forumurl?}filtertf_atcgal=Music"><span style="color: green;">Music</span></a>
    Games{|}<a href="{$forumurl?}filtertf_atcgal=Games"><span style="color: blue;">Games</span></a>
    Other{|}<a href="{$forumurl?}filtertf_atcgal=Other"><span style="color: red;">Other</span></a>

    Change the color as our needs.


07-30-2010 06:30 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #18
RE: Article Gallery
Thanks RateU!

I made the changes but I still cant get it to do single choice.

Also, I decided to make a new category and add my new forum under that...now both are hidden.  I may play with order later, but I would like to get rid of the multiple choice feature first.

Thanks so much!

ETA: Hold the phone!  I messed changing to option buttons!  It works now!

Thanks again!!
(This post was last modified: 07-30-2010 06:53 AM by RocketFoot.)
07-30-2010 06:48 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #19
RE: Article Gallery
Can you post your Category Custom Thread Fields settings for your article gallery, please?

07-30-2010 06:52 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #20
RE: Article Gallery
Sorry, I edited my post above...I forgot to change it to option buttons.  Once I did that, it seems to be working right now!

Thanks! Biggrin  I love this mod!
07-30-2010 07:04 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: