 | |  | | | ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here. |
March 15th, 2006, 02:34 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 13
| review post and vbadvanced
is there an easy way to have vbadvanced show the latest reviews in a module? using vbadvanced 2.0, vb3.5 and reviewpost.
|
| |
March 17th, 2006, 06:38 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
You can try this Reviewpost VB3 Enhanced Index
You can try setting up a new module called reviews.php and place in your modules folder.
Make the php code something like this Code: Content visible to verified customers only.
Then make sure to save the block as clean output and use module shell set to no.
|
| |
March 20th, 2006, 12:05 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 39
|
Almost got it to work. I see the header bar, but no actual products--only the bar itself. It looks like this if the member doesn't have permission to view products, but I have permissions set to "Everyone" and I still can't see it. Any ideas why?
Thanks Chuck. Sorry to bother you with all these questions. If/When I get all these things fixed/set up, I'll be up for buying another full set for a different site (I'm just going to clone everything--two birds with one stone).
|
| |
March 20th, 2006, 08:52 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
Try removing this in inc_reviews.php Code: Content visible to verified customers only.
|
| |
March 20th, 2006, 05:58 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 39
|
Nope. |
| |
March 20th, 2006, 08:04 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
Okay well check your usergroups permissions for the block in vbadvanced not much else I can add on this. You can post on the mod forum about vbadvanced blocks and such as thats all I know about vbadvanced how to make em since I dont own it.
|
| |
March 21st, 2006, 12:07 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 39
|
Aha! I removed PhotoPost module, and the ReviewPost module finally displayed proper errors: Quote:
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /classifieds/inc_reviews.php on line 53
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /classifieds/inc_reviews.php on line 53
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /classifieds/inc_reviews.php on line 56
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /classifieds/inc_reviews.php on line 102
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /classifieds/inc_reviews.php on line 102
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /classifieds/inc_reviews.php on line 106
| Why is that happening?
|
| |
March 21st, 2006, 07:48 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
Well why is the inc_reviews.php file in your classifieds directory? is that the directory for reviewpost?
However given those errors what I would recheck is the instructions on including this module on this forum we have posted.
Check the config-intr.php file and make sure your prefix for reviewpost is included and make sure if reviewpost and vbulletin are in separate databases you have uncommented the $link and mysql_select_db lines and filled in the proper variables.
The error above tells me specifically mysql is not even open which definately means you need to fill in the $link and select database lines and uncomment them
|
| |
April 11th, 2006, 08:20 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 39
|
Chuck, I finally got the Classifieds to work, but only when it is underneath Reviews module. When I moved Classifies to the left colum by itself, it no longer worked: Quote:
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /classifieds/inc_ads.php on line 54
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /classifieds/inc_ads.php on line 54
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /classifieds/inc_ads.php on line 57
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /classifieds/inc_ads.php on line 105
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /classifieds/inc_ads.php on line 105
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /classifieds/inc_ads.php on line 109
| any idea why?
|
| |
April 11th, 2006, 09:03 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
I would suggest you go make sure if classifieds is in an external database you have correctly uncommented the $link statement in that file and uncomment the mysql_select_db statements and fill them in.
|
| |
April 11th, 2006, 11:26 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 39
|
They're all on the same database. The strange part is that the Classifieds module works fine underneath the PhotoPost module, but if I move it above or to the sides of the PhotoPost module, it stops working. (this includes adding a Reviews module anywhere on the page)
|
| |
April 11th, 2006, 01:12 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
As stated fill in the variables as noted. The error your posting says there is not an open connection to the database.
|
| |
April 18th, 2006, 02:27 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2004
Posts: 13
|
nevermind....fixed my own problems.... :}
:
Last edited by Andy Winters; April 18th, 2006 at 02:35 PM.
|
| |
August 30th, 2006, 10:18 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 9
|
My error has became fatal.
Fatal error: Cannot redeclare rp_get_ext() (previously declared in /home/discuss/public_html/forum/reviews/inc_reviews.php:90) in /home/discuss/public_html/forum/reviews/inc_reviews.php on line 93
|
| |
August 31st, 2006, 09:26 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
You can not include the file twice and this would appear to be what you have done.
|
| |
August 31st, 2006, 05:56 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 9
|
Got it now I think. Thanks
Last edited by Suzie; August 31st, 2006 at 06:17 PM.
|
| |
August 31st, 2006, 06:31 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 9
|
No I did have it repeated in the index file but when I removed it I am still getting the same error.
|
| |
August 31st, 2006, 07:05 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
If you still have the error your including the file twice somewhere on the index
|
| |
August 31st, 2006, 07:14 PM
|
#19 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 9
|
Okay it was because I had it in my module block and the index apparently. Are the templates for the review script supposed to be in my VB templates? If not is there a template I can copy over and have it work as is?
|
| |
August 31st, 2006, 09:08 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,071
|
Our templates are not in vbulletin and this modification has no templates. You can only include the module once on a page
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:19 PM. | |