|
Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews. |
Advertisement | |
This is an HTML example. Isn't it just wonderful?!?!
|
|
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Mark thread title ?
I've created a new template set and left all the fields as blank. So that category use Gars Article but with original vbulletin templates.
I would like to be able to use "mark" option for this section. All i want to do is, when a user click the mark the thread button, then it will automatically put the [marked] prefix just infront of the thread title. Due to i do not use GARS_ template set for this section, i would like to learn if it still possible to use marked module but without container. Just with the mark button. I want to add the small mark button just infront of the tag button (in vbulletin threadbit). I guess i should add it just infront of the below code of original vbulletin threadbit template. Code:
<if condition="$thread['taglist']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/tag.png" alt="$thread[taglist]" /> </if> I hope it is... Regards. |
#2
|
||||
|
||||
To remove the container, go to the ACP -> GARS -> Modules -> click the module link -> click the Marked link -> set "Exclude container" to yes. In the GARS_threadbit template is the following that you can use to add a prefix like here:
Code:
<if condition="$thread['gars_marked_date']">$show[markedprefix]</if>
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Thanks a lot Morgan. I've solved my problem after checking your above advised thread.
I've just one problem. Is it possible to let the users list their marked threads ? I mean, each user should be able to list/see what threads they've marked. (same as on vb.org/installed addons) |
#4
|
||||
|
||||
The gars_marked table has both threadid and userid fields, so you could write something to query that table, perhaps joining with the vB thread table, to get a list of threads for a particular user.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
Do you mind if i ask you the way for doing that ? Becuase i do not have enough experience/knowledge with mysql or even php and actually i afraid of doing something wrong.
|
#6
|
||||
|
||||
Custom coding really falls outside the realm of support and is not typically offered, especially for larger requests, but here is a query you could try to get a list of threadids for a particular user:
Code:
# add your vB table prefix to the gars_marked table table name if you use a prefix # change X to the userid of the member for whom you want the list of threadids SELECT threadid FROM gars_marked table WHERE userid = X;
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mark Atkins | Booth | Reviews | 2 | 03-20-2011 08:07 AM |
"Mark Category Read" not working | guvner | Geek Article and Review System | 3 | 06-08-2008 09:27 PM |
New Thread/Edit Thread/Post Reply Template Set | Half Pint | Geek Article and Review System | 1 | 01-26-2008 11:11 PM |
Thread title is not updated | Michelle | Geek Article and Review System | 1 | 03-08-2006 09:04 AM |
GAB Issue Mark All Forums Read SQL Error | Michael-MI | Geek Advertising Banner System | 2 | 02-12-2006 04:07 PM |