MyBB Hacks

Full Version: Article Gallery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
What is the quickest, easiest way to add another category to the article gallery?  I have three now that I changed to suit my needs.  I'd like to add a 4th category and call it member blogs.  I can figure it out, but I thought it might be easier if you can point out what templates I need to edit in order to add the new cat.

Thanks!  Wink

Here it is in case you want to take a look:

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

I'd also like to incorporate the new user ID filter in order to link to each members blog posts!
After adding and set the atcgal custom thread field, you need to add it to atcgal_forumdisplay_threadlist template, around line #20 - #22:

HTML Code
<tr><td class="trow1 {$filters_set['atcgal']['active']['Music']}"><a href="{$forumurl_q}filtertf_atcgal=Music"><span><strong>Music</strong></span></a></td></tr>
<tr><td class="trow1 {$filters_set['atcgal']['active']['Games']}"><a href="{$forumurl_q}filtertf_atcgal=Games"><span><strong>Games</strong></span></a></td></tr>
<tr><td class="trow1 {$filters_set['atcgal']['active']['Other']}"><a href="{$forumurl_q}filtertf_atcgal=Other"><span><strong>Other</strong></span></a></td></tr>


If that is what you mean.

(12-09-2010 07:20 AM)RateU Wrote: [ -> ]After adding and set the atcgal custom thread field, you need to add it to atcgal_forumdisplay_threadlist template, around line #20 - #22:

HTML Code
<tr><td class="trow1 {$filters_set['atcgal']['active']['Music']}"><a href="{$forumurl_q}filtertf_atcgal=Music"><span><strong>Music</strong></span></a></td></tr>
<tr><td class="trow1 {$filters_set['atcgal']['active']['Games']}"><a href="{$forumurl_q}filtertf_atcgal=Games"><span><strong>Games</strong></span></a></td></tr>
<tr><td class="trow1 {$filters_set['atcgal']['active']['Other']}"><a href="{$forumurl_q}filtertf_atcgal=Other"><span><strong>Other</strong></span></a></td></tr>


If that is what you mean.

OK, so I can just add it to the thread fields and than to the template.  Not too bad!  LOL

What about using the user ID filter to link to member's article posts or even just the new blogs category?
(12-09-2010 07:27 AM)RocketFoot Wrote: [ -> ]What about using the user ID filter to link to member's article posts or even just the new blogs category?

In what page? Profile or postbit?
(12-09-2010 07:35 AM)RateU Wrote: [ -> ]
(12-09-2010 07:27 AM)RocketFoot Wrote: [ -> ]What about using the user ID filter to link to member's article posts or even just the new blogs category?

In what page? Profile or postbit?

Both...but definitely for the profile.  I got it to work for the Garage but I can't remember how...LOL!
For the new category only:
Profile:

HTML Code
<a href="forumdisplay.php?fid=forum_id&amp;filterxt_uid={$memprofile['uid']}&amp;filtertf_atcgal=your_new_category_here">{$formattedname} Articles</a>


For postbit, just change the {$memprofile['uid']} variable to {$post['uid']}
Maybe you need to change the {$formattedname} variable too in postbit.

Excellent!  Thanks again for all your help!  

Now I just need to decide if I want to filter just the new cat or all the article cats...LOL

I might do all, why not, really?
If all members can post in other categories, I think it is better for filtering their articles not in the new category only.
Or, maybe you can use link like:
View My Engine Articles
View My Modification Article
And etc, depends on your article category in their profile (because I think profile page has more space than postbit).
But it is only my opinion Biggrin
Yes, I agree...I made it link to all.  "My Blogs & Wiki"  That way all of their info is easy to find.  I'd do links to all 4 categories but that would get a bit long for the postbit!  LOL
If you want to do that in postbit, I think it is better to use a dropdown menu for that?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Reference URL's