The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2008, 12:40 PM
astranoc astranoc is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Default 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.
Reply With Quote
  #2  
Old 06-08-2008, 09:15 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

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
Reply With Quote
  #3  
Old 06-08-2008, 09:47 PM
astranoc astranoc is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Default

Pm sent. If i remove the break tags how am i going to do a multipage review?

Thanks in advance.
Reply With Quote
  #4  
Old 06-08-2008, 10:18 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

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
Reply With Quote
  #5  
Old 06-09-2008, 06:39 AM
astranoc astranoc is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Default

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..
Reply With Quote
  #6  
Old 06-10-2008, 04:37 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

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
Reply With Quote
  #7  
Old 06-10-2008, 11:03 PM
astranoc astranoc is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Default

Thanks for your answer, appreciate the time. Just one last question, this should go in a template or in a php file?

Regards.
Reply With Quote
  #8  
Old 06-11-2008, 12:32 AM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 09:38 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.