Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Article Gallery
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #51
RE: Article Gallery
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!

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-09-2010 07:15 AM by RocketFoot.)
12-09-2010 07:04 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #52
RE: Article Gallery
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
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #53
RE: Article Gallery
(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?

[Image: gallery_2_628_39582.jpg]
12-09-2010 07:27 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #54
RE: Article Gallery
(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
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #55
RE: Article Gallery
(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!

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-09-2010 07:38 AM by RocketFoot.)
12-09-2010 07:38 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #56
RE: Article Gallery
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.


(This post was last modified: 12-09-2010 07:47 AM by RateU.)
12-09-2010 07:45 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #57
RE: Article Gallery
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?

[Image: gallery_2_628_39582.jpg]
12-09-2010 07:48 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #58
RE: Article Gallery
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

12-09-2010 07:57 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #59
RE: Article Gallery
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

[Image: gallery_2_628_39582.jpg]
12-09-2010 07:59 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #60
RE: Article Gallery
If you want to do that in postbit, I think it is better to use a dropdown menu for that?

12-09-2010 08:10 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: