|
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
|
|||
|
|||
$threadid not recognized?
I have a code in my showthread templates in my normal forums, where the user can click and send this thread to a friend by email.
This is the code: PHP Code:
PHP Code:
|
#2
|
||||
|
||||
Try $threadinfo[threadid] instead of $threadid in your edit.
__________________
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
|
|||
|
|||
I did, it didn't work either. Same result in the link, without the topic number id in the end.
I also tried to insert it in the Gars uerinfo template, so it appears with the user personal information in the block on the right, but with same result. |
#4
|
||||
|
||||
Both $threadinfo and $post are globaled in the GARS process_postbit function, so you can try either $threadinfo[threadid] or $post[threadid] but if neither works then check whether it is the GARS_pb template to which you are adding the link, whether the additional link is through some other function, and if so backtrack to see if you need to global a variable.
__________________
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
|
|||
|
|||
Ah, the $post[threadid] worked.
Many thanks for the immediate responses. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Column 'threadid' in field list is ambiguous | Phrost | Geek Article and Review System | 2 | 02-15-2007 03:30 PM |