|
Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews. |
Advertisement | |
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Custom Variables outside of Article display ?
Ok, so I have a custom module that I am setting 2 cutom variables in..
the module displays as partof the article fine.. Can i use those custom variables in the forums display? I want to change the forum display to a table like this: Article Name Variable1 Variable2 Variable3 Poster Date Posted Art1 2 4 21 Blarg 1/31/06 Art2 4 4 22 Booya 2/01/06 etc etc .. each of the articles will display like that, and I can sort by any of the fields. Any idea how to do this ?
__________________
http://www.tamparacing.com Floridas #1 Automotive Community http://www.tampaforums.com Tampa's #1 Place for Shennanigans http://www.eq2raiders.com All your EQ2 Raiding discussion and Info. |
#2
|
||||
|
||||
You can do it, however you would need to make some code modifications.
In your GARS ForumDisplay Query hook, change it to this: PHP Code:
$thread['custom1'] = unserialize($thread['custom1']); Then in your GARS_threadbit you could access the variables like $thread[custom1][myvariable] However I have to say I havent tested the above, and its totally off the cuff Also, thats potentially a lot of unserialize commands which could affect performance on a stressed server. HTHs |
#3
|
|||
|
|||
I'm tested and It not work. Geek, you can teach me & Zate: "How to add new variable same as byline and synopsis". After done, Admin can chose On/off new variable in AdminCP/GARS/Types/Article Type/Editing options/Show XXXX (with XXXX is new variable).
Last edited by Jeffrey; 02-03-2006 at 03:37 AM.. |
#4
|
||||
|
||||
Ill put it on my todo list if Zates still having woes. Its more of a modification of the hack, and so my current projects have to take a priority
|
#5
|
|||
|
|||
yeah thats fine.. i'm still working out just how much modification is going to take place to get what i need.
ideally i need this : http://www.devmaster.net/engines/ Thats almost exactly what I am trying to create, from the categories on the front, to their amazing submission page. I have contacted them to see if they will share some code.
__________________
http://www.tamparacing.com Floridas #1 Automotive Community http://www.tampaforums.com Tampa's #1 Place for Shennanigans http://www.eq2raiders.com All your EQ2 Raiding discussion and Info. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stopping the simply article display and always showing the full article | peterska2 | Geek Article and Review System | 1 | 05-16-2008 03:08 PM |
[Pre-sale Question] Possible to display only article title and article image on index | VAFan | Geek Article and Review System | 3 | 11-24-2006 01:16 PM |
Featured Articels only display 1 article | zkilzz | Geek Article and Review System | 5 | 11-21-2006 05:19 PM |
Is it possible to toggle GARS article style thread display and vB default display? | Marris | Geek Article and Review System | 2 | 09-13-2006 08:07 AM |
MySQL queries sort/search on GARS custom variables? | Marris | Geek Article and Review System | 2 | 03-03-2006 11:07 PM |