|
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
|
|||
|
|||
Gars & Vbadvanced 3.0 CMPS
Hello there and congratulations for your software, every penny was well spend on buying it.
Though i would like to address a problem that i have and you may be able to help me. I am using Vbadvanced cmps v.3.0.0 to display my frontpage. I have one of my forums added in Gars as a review and i also have the same forum displayed in my front page news section. The problem is that in the front page the review is showing random review pages from the article (break tag pages i mean) and not a part of the first page as it should. I 've tried searching the forum but i didn't find anything that could help me. Any feedback would be greatly appreciated. Regards. |
#2
|
||||
|
||||
Strange, I'm not seeing a license for you. Please PM me your vB Geek Order Number so I can check that everything is okay. As to your question, you'd need to edit the vBa code to remove the break tags.
__________________
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
|
|||
|
|||
Pm sent. If i remove the break tags how am i going to do a multipage review?
Thanks in advance. |
#4
|
||||
|
||||
Thanks, you wouldn't edit the post content in the database table, but rather do something like a preg_replace in the vBa code so what appears on screen is without the break tags and the post content stored in the database table is preserved for use in GARS.
__________________
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
|
|||
|
|||
I am afraid that my coding knowledge is not that good. Do you have any link that could guide me through that?
Thanks a lot. Last edited by astranoc; 06-09-2008 at 10:38 AM.. |
#6
|
||||
|
||||
Untested, but the following should remove the break tags, though you'll need to look at the vBa code for where to place the line as I'm not familiar with vBa code:
Code:
$post_text = preg_replace('#\[\/?break.*\]#iU', '', $post_text);
__________________
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 |
#7
|
|||
|
|||
Thanks for your answer, appreciate the time. Just one last question, this should go in a template or in a php file?
Regards. |
#8
|
||||
|
||||
In a PHP file, but I do not know which one, and you will probably need to change $post_text to whatever variable name is used by vBa.
__________________
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 |
HTML special characters - $ and " being parsed to & and " | rtysmith | Geek Auto-Linker | 8 | 01-29-2008 07:26 PM |
GAB on vBAdvanced CMPS | gldtn | Tutorials | 49 | 02-05-2007 02:47 PM |
vBadvanced CMPS integration | vbStartup | GeekMart | 14 | 06-29-2006 03:18 AM |
GARS/VBAdvanced what am I missing? | keithxtreme | Geek Article and Review System | 4 | 03-07-2006 09:48 AM |
adsense only on vBadvanced CMPS | Seeker | Geek Advertising Banner System | 1 | 10-31-2005 09:31 PM |