TinyPortal

Development => Resources => Modules => Topic started by: Dragooon on May 24, 2008, 04:25:49 AM

Title: TP Reviews module
Post by: Dragooon on May 24, 2008, 04:25:49 AM
OK Here is my next module, Its a Reviews system for TP 1.

It supports category system, got permissions and also custom fields to rate as(Like Graphics, action for games). Also supports critic and user rating for each rate field/criteria.

Also newly added features such as notifications, previewing reviews etc.

Attached is the package for TP 1.

Currently at Rev. 6

Using RSS/XML feeds
RSS/XML Feeds can be accessed by http://site.com/index.php?action=tpmod;rvws;sa=xml.
Initially it'll show 5 latest reviews in XML format, for RSS add ;type=rss or ;type=rss2 in the URL, to set the limit add ;limit=x in the URL, to show from specific category, add ;cats=1 or something like ;cats=1,2,3 for multiple categories.

For example, to get RSS feed for 10 latest reviews in categories 1,2,3
http://yoursite.com/index.php?action=tpmod;rvws;sa=xml;type=rss;limit=10;cats=1,2,3

Any help you provide for helping me testing it will be greatly appreciated.




Team Edit:
Team Edit 2: added my link... Ken.

I have been testing the Reviews module, suggesting changes and additions and some bug hunting.

Here are two Live working Demos'
http://www.slayingsteel.com/index.php?action=tpmod;rvws
http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws

A How-To Made by Ken (http://www.ourfamilyforum.org/FamilyForum/index.php?page=127)


Staff Edit #3: 10/15/09
The copy of the TP Reviews Module now attached to this post will work with SMF 1.1.10 & TinyPortal v1.0 beta 4.
Latest update http://www.tinyportal.net/index.php/topic,24109.msg249108.html#msg249108

Installing the TP Reviews Module:
... always do a db backup for your forum before installing packages and set your forum to the SMF Core Default theme.

Accessing your Reviews pages:
To link to your Reviews main page use the address code as seen here:
?action=tpmod;rvws

Any questions or issues can be posted to this topic.
Title: Re: TP Reviews module
Post by: Smoky on May 24, 2008, 06:40:01 AM
will add this in the morning dragooon.. thanks!! ;)
Title: Re: TP Reviews module
Post by: Zetan on May 24, 2008, 06:56:23 AM
It's an excellent module.. I'll post a link to ours later as Ken and I have been helping Dragooon test it.
Unfortunately my site is down at the mo as my host conveniently decided to move us to a different server.. 
Title: Re: TP Reviews module
Post by: Dragooon on May 24, 2008, 07:27:26 AM
Thanks ZTN(And sorry to hear that), also will you mind adding the demo links to my first post whenever you feel its OK?
Title: Re: TP Reviews module
Post by: Zetan on May 24, 2008, 08:57:30 AM
I have updated your first post Dragooon with a link to our Reviews page.

If at any time the site is down, we are aware of it and it's beyond our control.
We are about to update the Reviews module to the latest version, but with the problems our host is currently having.. that may not be today.


Also note, that the Reviews Tabs in the theme we use are displayed vertically, rather than horizontally.. this is a theme issue and not an issue of the module.. again, this will be fixed as soon as our host has moved us to a new server.. Which I think they have now.
Title: Re: TP Reviews module
Post by: Dragooon on May 24, 2008, 09:03:19 AM
Thanks ZTN!
Title: Re: TP Reviews module
Post by: Zetan on May 24, 2008, 09:10:37 AM
Quote from: Dragooon on May 24, 2008, 09:03:19 AM
Thanks ZTN!

Thank you for all the work you've put into it  :up:

And for letting us test it first  ;)


Ken has been testing too, so he may post a link to his Reviews.
Title: Re: TP Reviews module
Post by: Dragooon on May 24, 2008, 09:55:45 AM
OK here's a "Recent Reviews" PHP Block code snippet, I made for ZTN & Ken, but thought I would share it.
global $context, $db_prefix, $scripturl;
$tp_prefix = $context['tp_prefix'];
$cat = array();
$request = db_query("
SELECT r.title, mem.realName, r.id, mem.ID_MEMBER, r.posted_on
FROM {$tp_prefix}reviews AS r
INNER JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = r.posted_by)
WHERE r.approved = 1
".(!empty($cat) && is_array($cat) ? 'AND r.category IN ('.implode(',',$cat).')' : (!empty($cat) && is_numeric($cat) ? 'AND r.category = '.$cat : ''))."
       AND r.type = 'item'
ORDER BY r.id DESC
LIMIT 10",__FILE__,__LINE__);
$reviews = array();
while($row = mysql_fetch_assoc($request)) {
$reviews[] = array(
'id' => $row['id'],
'title' => $row['title'],
'mem_link' => '<a href="'.$scripturl.'?action=profile;u='.$row['ID_MEMBER'].'">'.$row['realName'].'</a>',
              'posted_on' => timeformat($row['posted_on']),
);
}
mysql_free_result($request);
$total = count($reviews);
$i = 0;
foreach($reviews AS $review) {
$i++;
echo '<div class="smalltext"><a href="',$scripturl,'?action=tpmod;rvws;sa=viewitem;id='.$review['id'].'">'.$review['title'].'</a><br />['.$review['posted_on'].']<br /> by ',$review['mem_link'],'</div>';
if($i < $total)
echo '<hr />';
}


To show from specific categories, use the $cats array, like $cats = array(1); Or $cats = array(1,2,3);
Title: Re: TP Reviews module
Post by: Zetan on May 24, 2008, 10:01:38 AM
I forgot to mention that snippet.. I gave Dragooon a nudge to post it here  :P

If you navigate to my Home Page, you will see the latest Reviews in two blocks near the bottom on the left, one for Albums and one for Gigs.
Title: Re: TP Reviews module
Post by: Ken. on May 24, 2008, 03:59:27 PM
This is indeed a very nice Module, great job Dragooon!  :up:

Most of the features have been covered already so I'll just post my links.
You'll find that the reviews on ZTN's site are more 'in depth' than the ones on mine are, but mine should give you a good comparison between the two sites.

Link to my Reviews Index (http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws)

Link to my Reviews 'How-To' Page (http://www.ourfamilyforum.org/FamilyForum/index.php?page=127)
... I've put together a short how-to for my members and should anyone wish to copy it please feel free to do so, just do not link to my images... copy them and host them yourself if you want to use them.  :)

EDIT: Added my link to Dragooons OP.
You can see my block with the Recent Reviews snippet on my 'Forum' page.
EDIT# 2: for spelling.
Title: Re: TP Reviews module
Post by: Dragooon on May 24, 2008, 04:11:01 PM
Holy crap ken, That is one awesome How-To!

I'll link it to my to my first post :)
Title: Re: TP Reviews module
Post by: Ken. on May 24, 2008, 04:20:29 PM
Quote from: Dragooon on May 24, 2008, 04:11:01 PM
Holy crap ken, That is one awesome How-To!

Yes it is my son...       No wait, me supposed to be humble here.   ^-^






j/k Dragooon.
Thanks for the comment.  :)
Title: Re: TP Reviews module
Post by: Smoky on May 24, 2008, 05:56:51 PM
Dragooon, is there a way to get it to support the glossary mod?? instead of catagories??  :P
Title: Re: TP Reviews module
Post by: Dragooon on May 24, 2008, 05:58:24 PM
What is the relation between Reviews and glossary?
Title: Re: TP Reviews module
Post by: Smoky on May 24, 2008, 06:06:50 PM
I have most of my tutorials in the glossary Dragooon.. just wondering if i can, before i do, if not then I can do something else with it.. I would like to have a few vid tuts on graffix/webdesign with members and guests able to comment and rate.. think it would go over well..  :D
Title: Re: TP Reviews module
Post by: Ken. on May 24, 2008, 06:14:16 PM
The link to your site is not working Smoky.
Title: Re: TP Reviews module
Post by: Smoky on May 24, 2008, 06:18:31 PM
try this link Ken: http://www.tg.pixelbypaint.com/alpha 

sorry bout that, will fix it :o
Title: Re: TP Reviews module
Post by: Dragooon on May 24, 2008, 06:23:35 PM
Uhm No you cannot link them together, because Reviews and glossary have nothing(And nothing) in common.
Title: Re: TP Reviews module
Post by: Smoky on May 24, 2008, 06:26:11 PM
hmm ok.. thanks  ;)


wish it could have been.. but will figure something else out..  :coolsmiley:
Title: Re: TP Reviews module
Post by: Dragooon on May 25, 2008, 03:02:45 AM
OK well it is possible to link them together, but why would someone tie up a Review system and a glossary. It makes no sense -.-.
Title: Re: TP Reviews module
Post by: Ronlx2 on May 25, 2008, 04:06:37 PM
I will ask the stupid question for the day. ::) How did you get the review page to open with all the blocks on the index page (TP) turned off?
Title: Re: TP Reviews module
Post by: Dragooon on May 25, 2008, 04:20:21 PM
Uhm yoursite.com/index.php?action=tpmod;rvws
Title: Re: TP Reviews module
Post by: Ronlx2 on May 25, 2008, 04:26:38 PM
I didn't think that I worded that right. On my front page I have the left, right and center blocks turned on. How do you have the reviews page open without any other blocks showing?
Title: Re: TP Reviews module
Post by: Ken. on May 25, 2008, 04:35:36 PM

(This is for TP 1.x)
Go to; Admin>Panels and Blocks>Settings>Hide panels when in custom actions:... add "tpmod"
Title: Re: TP Reviews module
Post by: Ronlx2 on May 25, 2008, 04:41:23 PM
I was adding tpmod;rvws. Thank you for the fix it works perfect.
Title: Re: TP Reviews module
Post by: Ronlx2 on May 26, 2008, 09:03:01 PM
Something that would be nice for this module is if the admin could set the rate fields for each category and this rating standard would be carried over to every submission in that category.
Title: Re: TP Reviews module
Post by: Dragooon on May 27, 2008, 05:31:55 AM
That woudn't be too simple but I'll see....
Title: Re: TP Reviews module
Post by: AxS Voldsom on July 23, 2008, 04:17:10 PM
Found a bug I guess:

When you make a sub-category and place an item in it, it doesn't count it on the "Items" column on the main page of the reviews. So when you have all sub-categories like I do it doesn't seem like anything is in the entire reviews section when you're at the main page for reviews.
Title: Re: TP Reviews module
Post by: Rebecca on July 27, 2008, 02:27:36 AM
Awesome mod, thank you I have been looking for exactly this!!

Stupid question maybe.. but I have not updated to TP 1.x because im waiting for a non beta version (and my theme hasnt been updated to support this version yet)  I am running v0.9.8 is there anyway of making this mod work with my version or will i just have to wait?

Thank you.
Title: Re: TP Reviews module
Post by: Ken. on July 27, 2008, 02:38:00 AM
AFAIK Dragooon has no plans to try and make this module work with TP .9x ( .9x has no module system)
Title: Re: TP Reviews module
Post by: Rebecca on July 27, 2008, 02:39:40 AM
ok thanks ill just have to wait!

Cheers.
Title: Re: TP Reviews module
Post by: Destron on August 30, 2008, 02:58:21 AM
I installed this mod and it is awesome, just what I was looking for and it woks great. I did find one small issue though.

When you add something to a category and then move it to another category the item counts do not get update, the old category will still be one to many and the new category will be one less. Know any way this can be resolved?

Thanks!
Title: Re: TP Reviews module
Post by: Dragooon on August 30, 2008, 04:45:08 AM
OK I can see what you mean.
I'll add this to the bug tracker later :).
EDIT : http://smf-media.com/community/index.php?issue=31.0
Title: Re: TP Reviews module
Post by: Destron on August 30, 2008, 04:40:00 PM
Thanks Dragooon your awesome  :up:
Title: Re: TP Reviews module
Post by: alhaudhie on August 30, 2008, 05:13:34 PM
How can we add user commenter avatar? is there any setting?

Also i have make a setting in user permission to allow regular member to add review, but its still fail.

Also how can i hide/remove  Edit Item | Delete  in comment that user cant del or edit it?
Title: Re: TP Reviews module
Post by: Ken. on August 30, 2008, 06:29:27 PM
alhaudhie, check your TP Reviews admin panel in the 'Permissions' screen to make sure you've set the correct permissions that you want.

Admin>Permissions>TP Reviews:

For the Edit and Delete functions; mine is only showing those controls for the Administrator and not for members so maybe your settings are not yet correct.
If you post a regular member test log-in I'm give it a test for you.

For the commenter avatar... we'll need to wait for Dragooon to answer that one for us.


Title: Re: TP Reviews module
Post by: Dragooon on August 30, 2008, 07:05:35 PM
That Edit item | Delete is a known bug(Ken can you add it? I am having issues as usual with mine site and me).

And that commenter's avatar can be added, won't be hard.
Title: Re: TP Reviews module
Post by: Ken. on August 30, 2008, 07:18:01 PM
Quote from: Dragooon on August 30, 2008, 07:05:35 PM
That Edit item | Delete is a known bug(Ken can you add it? I am having issues as usual with mine site and me).

And that commenter's avatar can be added, won't be hard.

Done :)
Title: Re: TP Reviews module
Post by: NIBOGO on August 30, 2008, 10:06:25 PM
So awesome Module , really thanks i love it!!

But how i can have html in reviews???

and

You can add the TP Reviews to the Linktree??

Thanks
Title: Re: TP Reviews module
Post by: alhaudhie on August 31, 2008, 05:44:38 AM
i have only this in my admin permission
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi388.photobucket.com%2Falbums%2Foo326%2Fhq10%2Fs.jpg&hash=f2dd055f187f060b7dce8b8cbdd17b798e9cd5fc)

There is no x and d permission.

Call tell me if i have install the old version?
Title: Re: TP Reviews module
Post by: Dragooon on August 31, 2008, 09:40:49 AM
Quote from: NIBOGO on August 30, 2008, 10:06:25 PM
So awesome Module , really thanks i love it!!

But how i can have html in reviews???

and

You can add the TP Reviews to the Linktree??

Thanks
You can't and what linktree?

@alhaudie, Its just a different permission mode built in SMF that Ken is using.
Title: Re: TP Reviews module
Post by: NIBOGO on August 31, 2008, 10:06:07 PM
Quote from: Dragooon on August 31, 2008, 09:40:49 AM
Quote from: NIBOGO on August 30, 2008, 10:06:25 PM
So awesome Module , really thanks i love it!!

But how i can have html in reviews???

and

You can add the TP Reviews to the Linktree??

Thanks
You can't and what linktree?

Something like:

Tinyportal --> Reviews --> Category --> SMF Review
Title: Re: TP Reviews module
Post by: kingsmoke on September 01, 2008, 03:03:46 AM
First of all this is a great mod!! I am having some issues where I set all of my permissions. Yet regular users cannot Add a review. The ADD button does not show up for them. Any ideas?

Also is two other things.
How can I add onto the "recent reviews" snippet box. A place for it to say ADD A REVIEW at the top
And is it possible to have the critics rating only enabled if it's their review.
Title: Re: TP Reviews module
Post by: kingsmoke on September 03, 2008, 06:53:15 PM
Anyone...any ideas?
Title: Re: TP Reviews module
Post by: Ken. on September 03, 2008, 08:29:53 PM
Hi kingsmoke, welcome to TinyPortal.

For the permissions check as follows:
Admin>Members>Permissions>Regular Members>TP Reviews>place a check in the 'Add item' selection... you should also check the 'Access Reviews' so that they can actually see the reviews, plus any other permissions you would like for them to have.

For the "ADD A REVIEW" part, here's the code that I'm using for mine:

echo 'Have you seen a good movie, heard a great song? Want to write a review? <br>
<a href="http://www.ourfamilyforum.org/FamilyForum/index.php?page=127">Click HERE!</a>';
echo '<hr />';

You place it directly after the first line of code in the block code snippet that was posted by Dragooon at the beginning of this topic.
You would change the url to the one for your own site of course... mine goes to an article that I posted that explains for my members how to use the Reviews Module.

EDIT: For the ratings question, I've not heard Dragooon say if that option will be added so we'll need to wait until he has an opportunity to answer that for us.


Title: Re: TP Reviews module
Post by: kingsmoke on September 04, 2008, 12:31:23 AM
Thanks for the help Ken.
My problem with the permissions is that users are not getting the "Add Review" link on the reviews screen. Moderators can see it fine. Users are able to submit a review successfully if I provide the link for them.  any ideas?
Title: Re: TP Reviews module
Post by: Ken. on September 04, 2008, 01:16:43 AM
The permissions that you have set to Allow and Disallow for regular members should be the question that we need to answer so check the settings that you have for your Moderators and compair those to the settings for regular members.

If 'Access Reviews' and 'Add Item' are both set to 'Allow' then your regular members should be able to see the Add Review link.

If you like you can post a temp regular account login and I'll test it for you.
Title: Re: TP Reviews module
Post by: alhaudhie on September 08, 2008, 07:12:43 PM
How about the commentor avatar?
Title: Re: TP Reviews module
Post by: AxS Voldsom on September 14, 2008, 03:40:13 AM
I'm having a problem with this module, everything works perfectly, accept anyone who isn't an admin can't add reviews. They can't see the "Add" button, only "Home" and "Search" and yes they have permission to add items.
Title: Re: TP Reviews module
Post by: Dragooon on September 14, 2008, 04:10:31 AM
Make sure you've set the permissions.
Title: Re: TP Reviews module
Post by: kingsmoke on September 14, 2008, 02:30:28 PM
Quote from: AxS Voldsom on September 14, 2008, 03:40:13 AM
I'm having a problem with this module, everything works perfectly, accept anyone who isn't an admin can't add reviews. They can't see the "Add" button, only "Home" and "Search" and yes they have permission to add items.

You are having the same problem that I am having. My users cannot see those buttons either. Only admins can. I know I have set my permissions right because if I send them to this direct link: "http://XXXX.COM/index.php?action=tpmod;rvws;sa=additem" They can add Items fine. It just doesn't show the button there.
Title: Re: TP Reviews module
Post by: AxS Voldsom on September 14, 2008, 04:10:32 PM
Yup, seems right, I just tested that similar link on my site and members can add items.
Title: Re: TP Reviews module
Post by: alhaudhie on September 17, 2008, 05:30:13 PM
Quote from: Ken. on August 30, 2008, 07:18:01 PM
Quote from: Dragooon on August 30, 2008, 07:05:35 PM
That Edit item | Delete is a known bug(Ken can you add it? I am having issues as usual with mine site and me).

And that commenter's avatar can be added, won't be hard.

Done :)

what must i do to add avatar?
Title: Re: TP Reviews module
Post by: AxS Voldsom on September 21, 2008, 04:39:44 PM
Any help with adding items out there? I wouldn't be this annoying, but since with TP v1 beta I can't add a block to the reviews section it's really getting on my nerves since this module is one of the best it would be nice to actually use it.
Title: Re: TP Reviews module
Post by: Dragooon on September 21, 2008, 04:56:08 PM
Open tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Find
'show' => allowedTo('tp_rv_add'),
Replace it with
'show' => allowedTo('tp_rv_add_item'),
Title: Re: TP Reviews module
Post by: AxS Voldsom on September 21, 2008, 11:11:57 PM
Thanks man, works perfectly now.
Title: Re: TP Reviews module
Post by: Ken. on September 22, 2008, 10:19:35 PM
How you add a button/link would depend on what theme you are using joyboy2001, but you can get an idea at this link:
How to add a Home button or a new tab? (http://docs.tinyportal.co.uk/index.php?topic=30)

Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581) and we may be able to give you a better answer. :)
Title: Re: TP Reviews module
Post by: davieb on September 29, 2008, 08:56:06 PM
Ok this may well be an insanely stupid question but I'll try anyway.

How do I get this into a block?

I've installed the module and made sure it's switched on. I've then created the block, selected the type as TP Module but the only module I can select is the other one that is installed, namely TPAdvShout. There is no option to select TPReviews (it does show on the admin panel though)

Currently running SMF1.1.6 and TP 1.0.5
Title: Re: TP Reviews module
Post by: IchBin on September 29, 2008, 09:02:51 PM
Its not a block. Its a whole module, like the downloads module. You can enter reviews in, and have them display like an article etc.
Title: Re: TP Reviews module
Post by: davieb on September 29, 2008, 09:31:25 PM
Ok, then here comes stupid question 2 - how to I get it to display if it doesn't go in a block? Is it a case of just adding a tab to the menu and linking directly?
Title: Re: TP Reviews module
Post by: Rus on September 29, 2008, 09:40:49 PM
Hey there.  I like the look of it on the demo site but when I installed on my site I get these 2 errors when I go to the review listings:


8: Undefined index: sa
File: /home/xxx/public_html/forum/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 128
   
8: Undefined index: sa
File: /home/xxx/public_html/forum/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 72

TP 1.052
SMF 1.1.6
Title: Re: TP Reviews module
Post by: Rus on September 29, 2008, 09:57:57 PM
After making a test review I also got lots of these:

2: Division by zero
File: /home/xxx/public_html/forum/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 348
Title: Re: TP Reviews module
Post by: IchBin on September 29, 2008, 10:14:34 PM
Quote from: davieb on September 29, 2008, 09:31:25 PM
Ok, then here comes stupid question 2 - how to I get it to display if it doesn't go in a block? Is it a case of just adding a tab to the menu and linking directly?
Perhaps you shoudl look at the demo sites listed and see how they do it.
Title: Re: TP Reviews module
Post by: davieb on September 29, 2008, 10:28:27 PM
Quote from: IchBinâ,,¢ on September 29, 2008, 10:14:34 PM
Quote from: davieb on September 29, 2008, 09:31:25 PM
Ok, then here comes stupid question 2 - how to I get it to display if it doesn't go in a block? Is it a case of just adding a tab to the menu and linking directly?
Perhaps you shoudl look at the demo sites listed and see how they do it.

I already had hence the "Is it a case of just adding a tab to the menu and linking directly" question. However I had a play around and realised I could add the link as a side panel menu which I've done for the minute.
Title: Re: TP Reviews module
Post by: AxS Voldsom on September 29, 2008, 10:31:41 PM
Quote from: davieb on September 29, 2008, 09:31:25 PM
Ok, then here comes stupid question 2 - how to I get it to display if it doesn't go in a block? Is it a case of just adding a tab to the menu and linking directly?

Add a new tab/menu linking to http://website/index.php?action=tpmod;rvws or however it goes from your forum index.

EDIT:
Better yet, heres code...
// Show the [reviews] button.
echo '<li><a href="', $scripturl, '?action=tpmod;rvws">' , $txt[124] , '</a></li>';
Title: Re: TP Reviews module
Post by: alhaudhie on October 23, 2008, 05:39:11 PM
Im still looking for commentors avatar show below their names..

tq
Title: Re: TP Reviews module
Post by: bbTURK on October 31, 2008, 04:55:33 PM
turkish language file attached
Title: Re: TP Reviews module
Post by: kåre on November 05, 2008, 11:42:43 AM
Maybe stupid question, but how do i install this module?
Title: Re: TP Reviews module
Post by: bbTURK on November 05, 2008, 12:22:15 PM
you can find the answer at TinyPortal Documentation (http://docs.tinyportal.ne)
Title: Re: TP Reviews module
Post by: kåre on November 05, 2008, 02:52:27 PM
Quote from: bbTURK on November 05, 2008, 12:22:15 PM
you can find the answer at TinyPortal Documentation (http://docs.tinyportal.ne)

No i cant, im using tp 0.9.8.
Title: Re: TP Reviews module
Post by: bbTURK on November 05, 2008, 03:02:36 PM
you have to read the first message :D
"Its a Reviews system for TP 1"
sorry, this module isn't installed tp 0.9.8
Title: Re: TP Reviews module
Post by: IchBin on November 05, 2008, 03:04:53 PM
If you are using TP 0.9.8 you do not have any options to install modules. Modules were only added in TP 1.0.x
Title: Re: TP Reviews module
Post by: kåre on November 05, 2008, 03:06:34 PM
Then i have to upgrade, but is tp 1 bad because it is beta?
Title: Re: TP Reviews module
Post by: IchBin on November 05, 2008, 04:08:24 PM
TP 0.9.8 is also beta. There are bugs in each of them. Its up to you to find out whether these things are for you or not. Take a look at the support boards and the bug tracker to figure out if you are willing to upgrade.
Title: Re: TP Reviews module
Post by: Zetan on November 22, 2008, 02:49:58 PM
Dragooon, would it be possible to include a thumbnail for each review? For example, an album cover. Then display that thumbnail also next to (right hand side) of the author, title, date snippet.

See my homepage, with the Gig and Album reviews under Recent posts.

http://www.slayingsteel.com/index.php

I can post the code if you need it.
Title: Re: TP Reviews module
Post by: alhaudhie on November 24, 2008, 08:36:46 AM
Im still looking if we can add commentors avatars?
Title: Re: TP Reviews module
Post by: dannbass on December 10, 2008, 03:43:47 AM
Quote from: Rus on September 29, 2008, 09:40:49 PM
8: Undefined index: sa
File: /home/xxx/public_html/forum/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 128
   
8: Undefined index: sa
File: /home/xxx/public_html/forum/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 72

I'm getting those as well, does anybody else has them?
Title: Re: TP Reviews module
Post by: Rus on December 10, 2008, 05:09:35 PM
I wound up turning it off because our host gets a little cranky if we get too many errors too fast.
Title: Re: TP Reviews module
Post by: dannbass on December 10, 2008, 06:28:30 PM
I'm afraid I'll have to do the same.
Title: Re: TP Reviews module
Post by: Dragooon on December 12, 2008, 03:04:23 PM
Sorry about that
Find
$rvurl = $_rvurl;
$rvurl2 = substr($rvurl,0,strlen($rvurl) - 1);
$rvsub = $context['TPortal']['rvsub'];

Add after
$_REQUEST['sa'] = isset($_REQUEST['sa']) ? $_REQUEST['sa'] : '';
Title: Re: TP Reviews module
Post by: Rus on December 12, 2008, 04:54:28 PM
Cool, thanks, I haven't tried it yet as Bluehost is giving us yet another CPU Quota error but after things calm down I may retry this.
Title: Re: TP Reviews module
Post by: Destron on January 21, 2009, 06:15:27 AM
OK, I have been using an older version for a while, but I just did a fresh install of SMF/TP and the review module, now when I add/edit a review there is some code right after the smilies

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg206.imageshack.us%2Fimg206%2F9541%2Freviewtz3.png&hash=d7dc1c19631f4d07840459466ef641875389cbc4) (http://imageshack.us)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg206.imageshack.us%2Fimg206%2Freviewtz3.png%2F1%2Fw784.png&hash=be315ba07be779fb55fdf77e37956a343436b09b) (http://g.imageshack.us/img206/reviewtz3.png/1/)

Have no idea what is causing this, and this is a fresh install with no mods, I even reinstalled to make sure, Any ideas?
Title: Re: TP Reviews module
Post by: xasou on February 11, 2009, 01:41:03 AM
Greetings people, and a big thanks for that module and to anyone who gives feedback on that. I am having a problem though. Im currently running 1.1.8 smf version and Tiny Portal version 1.0.5. I've installed the module, the admin panel works perfectly, it does appear wherever I want it. But the problem gets to me when I simply try to click on Category or Edit button for the category... I receive a 404 error:

501 Method Not Implemented

GET to /smf/index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


My apache version is 2.2.11 (Unix)


Anyone can tell me what's the problem?

Title: Re: TP Reviews module
Post by: G6Cad on February 13, 2009, 08:37:04 AM
These errors are host issues, you need to contact your host and ask them to fix it for you

Or read this if you are your own host (http://www.google.se/search?hl=sv&q=501%2BMethod%2BNot%2BImplemented&btnG=Google-s%C3%B6kning&meta=&aq=f&oq=)
Title: Re: TP Reviews module
Post by: xasou on February 13, 2009, 02:27:33 PM
thanks for the assistance G6   :laugh:
Title: Re: TP Reviews module
Post by: kåre on February 13, 2009, 03:09:27 PM
Quote from: Destron on January 21, 2009, 06:15:27 AM
OK, I have been using an older version for a while, but I just did a fresh install of SMF/TP and the review module, now when I add/edit a review there is some code right after the smilies

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg206.imageshack.us%2Fimg206%2F9541%2Freviewtz3.png&hash=d7dc1c19631f4d07840459466ef641875389cbc4) (http://imageshack.us)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg206.imageshack.us%2Fimg206%2Freviewtz3.png%2F1%2Fw784.png&hash=be315ba07be779fb55fdf77e37956a343436b09b) (http://g.imageshack.us/img206/reviewtz3.png/1/)

Have no idea what is causing this, and this is a fresh install with no mods, I even reinstalled to make sure, Any ideas?

Try to go in admin -> Smileys and messsage icons -> and see if "enable customized smileys" is enabled,  if it is try to disable and see if it works.
Title: Re: TP Reviews module
Post by: FUBAR on February 13, 2009, 05:12:40 PM
This module looks great!  I'll try and install this tonight but I have one question.

Does this install edit any of SMF or TP files?
Title: Re: TP Reviews module
Post by: Ken. on February 13, 2009, 07:05:33 PM
Yes, there are some edits.
If you run it through this Package Parser  (http://www.packageparser.com/package.php)you'll be able to see those edits.
Title: Re: TP Reviews module
Post by: FUBAR on February 14, 2009, 12:54:28 AM
Thanks for the reply Ken but I get an error when running this package through the parser.

parseArchive(): No package-info.xml in this mod! Is it corrupted?

I just want to know what to backup before running the install, just in case something goes wrong.  ;)

EDIT:

Ok, so I just backed up everything to be safe and installed the module but I'm getting the same error's as Rus posted earlier.

Quote from: Rus on September 29, 2008, 09:57:57 PM
After making a test review I also got lots of these:

2: Division by zero
File: /home/xxx/public_html/forum/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 348

On lines: 346 and 348

Any idea's on how to correct this?  Thanks guys.
Title: Re: TP Reviews module
Post by: Bec on March 03, 2009, 04:45:04 PM
Gotta admit I have been hanging to try this out, its exactly what I need for my site and i finally upgraded! I am using smf 1.1.8 and tp v1.0 beta3

Just wondering how I can go about installing it though, I have tried installing through the module - uploaded modules section in tp admin but its coming up "Not a valid TPmodule". Just had a look at the package parser and when uploaded it came up with "parseArchive(): No package-info.xml in this mod! Is it corrupted?".

Would appreciate some help when you get a chance! Thanks :)
Title: Re: TP Reviews module
Post by: G6Cad on March 03, 2009, 05:17:52 PM
Same answer goes for this question in this topic.
Dragoon have to sort his mods for TP, you have to ask him on his own site to take his time to update these mods so they work with the new tp version.
Title: Re: TP Reviews module
Post by: Bec on March 03, 2009, 05:22:35 PM
thanks again, appreciate your help!
Title: Re: TP Reviews module
Post by: bloc on March 03, 2009, 10:18:27 PM
Bec,it should NOT be uploaded through package manager, only through the modules interface of TP.
Title: Re: TP Reviews module
Post by: Bec on March 03, 2009, 10:25:38 PM
no worries Bloc, it was the package parser I actually tried it in to do it manually after i got the error message through the module section. thanks :)

btw been checking out the new tp and its amazing, i love your work!!
Title: Re: TP Reviews module
Post by: Paragaya on April 06, 2009, 11:21:59 AM
Excellent module :)
Title: Re: TP Reviews module
Post by: Spize on May 12, 2009, 03:51:17 AM
I may have missed it in my reading here...  but is there any way to shut off the left panel of blocks while viewing the TP Reviews mod besides each user having to click them off manually?
Title: Re: TP Reviews module
Post by: Ken. on May 12, 2009, 04:00:01 AM
Quote from: Spize on May 12, 2009, 03:51:17 AM
I may have missed it in my reading here...  but is there any way to shut off the left panel of blocks while viewing the TP Reviews mod besides each user having to click them off manually?

It may depend on what version of TP you are using, but check in your 'panels' admin screen and look for "Hide panels when in custom actions:"... there you would make an entry for 'tpmod'.

Ps: You did miss the post on page 3 that answered the question.  ;)
http://www.tinyportal.net/index.php/topic,24109.msg194747.html#msg194747
Title: Re: TP Reviews module
Post by: zapiy on May 22, 2009, 01:43:37 PM
Is there a way to make the main TPreviews page look more attractive...ie using images and centering them?
Title: Re: TP Reviews module
Post by: Ken. on May 22, 2009, 05:18:58 PM
Quote from: zapiy on May 22, 2009, 01:43:37 PM
Is there a way to make the main TPreviews page look more attractive...ie using images and centering them?

Yes, you can add images to the main page:
Admin>TinyPortal>TPReviews>Categories>... edit the category where you want to add an image and use BBC to place the image where you want it to show. (center, or wherever)

Example: My Reviews Index (http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws)
Title: Re: TP Reviews module
Post by: keith021773 on August 13, 2009, 01:49:43 AM
I have wanted this module for along time.   But I had to upgrade TP to V1.0 first.    Now that I have done that, I can not figure out how to install it.  LOL     

I have read that there is a way to upload the modules and then install them, but alas, I can't find it!   LOL
Title: Re: TP Reviews module
Post by: Ken. on August 13, 2009, 02:37:17 AM
Keith, I'm looking at this for you but it has been a while since a module install question has come up and so it will need some research... hopefully we'll be able to let you know something soon.

EDIT:
Keith, can you post the information called for in the posting guidelines so that we know what versions we are dealing with... Thanks.
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: TP Reviews module
Post by: keith021773 on August 13, 2009, 04:33:03 AM
Sure thing Ken.   Sorry I didn't post that.

Link to my site: http://www.daddyplace.com
SMF version: SMF ver. 1.1.10
TP version: TP ver. 1.0 beta 4
Theme name and version: Daddyplace custom theme by Bloc
Browser Name and Version: Firefox 3.0.13 / IE 7.0
Mods installed: Several (if this really matters, i will list them all.)
Related Error messages: No error messages.    *See Below*

I have read on here about a modules upload built in to TP.  I can't find it anywhere in the admin section.  I have 2 sites with the same versions of both SMF and TP, both don't have this upload feature.    Also, a friend of mine has the same setup and he doesn't have the upload feature either.

Anyway, thanks for helping me out on this.
Title: Re: TP Reviews module
Post by: bloc on August 13, 2009, 12:56:57 PM
The upload feature was removed from beta2 or 3, due to the double code. Package manager does the same thing, so just installing it as a mod will work better.

But it seems the author hasn't edited the first post for a long time, so I am not sure when it will be.

Title: Re: TP Reviews module
Post by: Ken. on August 13, 2009, 06:59:48 PM
The OP for this Reviews Module has been updated:
http://www.tinyportal.net/index.php/topic,24109.0.html

You'll find a new copy of the 'TPReviews.zip' file and instructions for installing.
Title: Re: TP Reviews module
Post by: keith021773 on August 13, 2009, 09:49:46 PM
Thank you very much Ken.  Worked like a charm!
Title: Re: TP Reviews module
Post by: Ken. on August 13, 2009, 10:03:18 PM
Quote from: keith021773 on August 13, 2009, 09:49:46 PM
Thank you very much Ken.  Worked like a charm!
Glad it worked for you Keith.
It was a TP Team effort. :up:
Title: Re: TP Reviews module
Post by: lextalionis on September 21, 2009, 04:20:59 PM
Wow, assumed that a Reviews module for SMF was not available from the multiple posts over on SMF Forums for the past few years.  I never thought to look over on TP. 

Iââ,¬â,,¢ve been needing something to compliment my DSLR Lens Review site here:  http://www.motleypixel.com/reviews/  and about 2 years ago I fired up an SMF forum in hopes to allow some sort of user review comments here:  http://www.motleypixel.com/forum/  but this has only been a place for general discussion.

Now this all being said, I seriously contemplated using Joomla and JReviews and Iââ,¬â,,¢ve even installed a Joomla site and the trial JReviews which the trial was extended twice (15 day trial is just too short), and Iââ,¬â,,¢ve got to say, it was a PITA!  Since I have TP and SMF experience, I plan to give this a whirl.  I read through this entire thread and I have a few questions first:

1.   Assuming that if you grant ââ,¬Å"guestââ,¬Â access a guest can post a review correct?  Any sort of ââ,¬Å"reviewââ,¬Â ghost table for admin moderation before inserting actual review data?
2.   I like Kenââ,¬â,,¢s review site:  http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws  I can envision mine index having categories such as Canon Zooms, Canon Primes, Nikon Zooms, Nikon Primes, etc.  Itââ,¬â,,¢s probably not available, but a really nice feature would be to pull in the current highest reviewed product per category on the index page, seems thereââ,¬â,,¢s a nice amount of space.  Is this possible?
3.   On the view category page where all the items are listed (for example recipes), is there a way to either sort them by highest to lowest ranked and make it so the visitor knows this OR have a ââ,¬Å"sort-byââ,¬Â dropdown so a user can sort by rank?  Also, I looked over all of Kenââ,¬â,,¢s categories and all the category pages only had text, BBC images can be applied as well right?
4.   Last question, will affiliate ad modules work in conjunction with this module, i.e. Google ads and affiliate banners?

I plan to create a fresh new DB and new install of SMF and TP.  Looking forward to using this, thanks for developing this nice module.

Thanks,
Roy
Title: Re: TP Reviews module
Post by: Ken. on September 21, 2009, 04:56:16 PM
Hi lextalionis, I'll try to answer:


1.   Assuming that if you grant ââ,¬Å"guestââ,¬Â access a guest can post a review correct?  Any sort of ââ,¬Å"reviewââ,¬Â ghost table for admin moderation before inserting actual review data?
*As you can see in the ss attached below, there is a set of permissions for the Reviews Module and 'Auto approve' is listed as an option.

2.   I like Kenââ,¬â,,¢s review site:  http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws  I can envision mine index having categories such as Canon Zooms, Canon Primes, Nikon Zooms, Nikon Primes, etc.  Itââ,¬â,,¢s probably not available, but a really nice feature would be to pull in the current highest reviewed product per category on the index page, seems thereââ,¬â,,¢s a nice amount of space.  Is this possible?
*Chances are that it's possible, but getting someone to devote the time for the coding would be the question, see my note below.

3.   On the view category page where all the items are listed (for example recipes), is there a way to either sort them by highest to lowest ranked and make it so the visitor knows this OR have a ââ,¬Å"sort-byââ,¬Â dropdown so a user can sort by rank?  
*Some manual sorting is possible, but the answer is basically the same as above.
Also, I looked over all of Kenââ,¬â,,¢s categories and all the category pages only had text, BBC images can be applied as well right?
*The BBC editor is in use and the RM pages are able to show images.

4.   Last question, will affiliate ad modules work in conjunction with this module, i.e. Google ads and affiliate banners?
*Don't know about this, but because the pages use the regular BBC editor the answer may be yes.

NOTE:
The author of the RM, Dragoon, has been busy for some time now with his education plus his biggest project to date, the SMF Media Gallery.
He has not been able to put time into the RM for a while now and generally speaking that's OK because it works well as is, but new features or updates will likely not happen anytime soon. If enough demand comes fourth I'll shoot him a note to see if he has any time to spare, but chances are he won't at this point.

Ps: Could you post links to any of my reviews pages where you don't see images, there should be on all of them... Thanks. :)
Title: Re: TP Reviews module
Post by: lextalionis on September 21, 2009, 06:16:50 PM
Ken,

Thank you for your quick response.  The only page I don't see any images is on your "items" list page:  http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws;sa=viewcat;id=45  seems it's like this for all of your categories

I'll keep my fingers crossed that Dragoon could eventually add the "top rated" item to the index page for each category, this seems to be one of the key features with many reveiw engines, such as Amazon etc.

I'll post a mock-up as soon as I'm ready, just in the time of my first post in this thread I've already got a new SMF/TP site going.

Cheers,
Roy
Title: Re: TP Reviews module
Post by: Ken. on September 21, 2009, 08:09:37 PM
Ah... the list page for reviews in a category, you're right, no images there. There is no way that I'm aware of to get an image to show there for each review in the list.
Title: Re: TP Reviews module
Post by: lextalionis on September 21, 2009, 08:24:45 PM
Thanks for the reply.

Okay, I'm really trying to cover all my basis (searching and trying every option).

I've got a fresh install of SMF 1.1.10 with TP 1.0 beta 4 using default theme.  I've installed the latest TP Reviews Module.  I just can't seem to get the custom action ?action=tpmod;rvws to work when hitting the index page.  Below are some SS's:

1.  TP Reviews is turned on:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Ftp_review_3.gif&hash=c61aea1733acb792d47d408aa60b668e79c36bb0)

2.  Custom action "tpmod" added to the panels section, btw, I also tried "?action=tpmod;rvws":
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Ftp_review_4.gif&hash=1ebd18551316282d790d6c4c8af543ee3fbc5590)

The reviews module does seem to be working, I just need to get it to resolve to the index page.   I've got all panels except the right panel turned on:  http://motleypixel.com/lensreviews/index.php?action=tpmod;rvws

Thanks,
Roy
Title: Re: TP Reviews module
Post by: G6Cad on September 21, 2009, 09:06:52 PM
This code havent been updated for quite some time, and Dragoon havent been here for about the same time, so best would be to skipp this module and remove it, or try and get in contact with dragoon at his site where he runs the development for the mediagallery of his.
Title: Re: TP Reviews module
Post by: lextalionis on September 21, 2009, 09:08:05 PM
I couldn't get the custom action in the Panel-Settings-Custom action to work so I just added it manually to the index.template.php and changed the menu button $txt103 to say "Reviews"...now I'm almost there...I just need to get http://motleypixel.com/lensreviews/index.php to resolve directly to:  http://motleypixel.com/lensreviews/index.php?action=tpmod;rvws

-Roy
Title: Re: TP Reviews module
Post by: Ken. on September 21, 2009, 09:13:24 PM
It will work G6, we just need to resolve the link issues. :)

Stand by for a minute lextalionis, while I research the link problem.
Title: Re: TP Reviews module
Post by: Ken. on September 21, 2009, 09:19:28 PM
lextalionis, I can see that you are using the Spade theme by Crip and that you've set your 'Home' button to read Reviews and link to your Reviews page... is that what you're trying for?

At this point I think we need a little more detail on what you're trying to achieve.
Thanks.
Title: Re: TP Reviews module
Post by: lextalionis on September 21, 2009, 09:29:04 PM
Thanks Ken...really at this point, I just need:

...now I'm almost there...I just need to get http://motleypixel.com/lensreviews/index.php to resolve directly to:  http://motleypixel.com/lensreviews/index.php?action=tpmod;rvws but I'm sure I can figure this one out.

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on September 21, 2009, 09:50:06 PM
If you are trying to get it so that people will automatically be sent to the rvws address when people visit your site, you need to create a redirect in your CPanel or whatever control panel your host has given you.
Title: Re: TP Reviews module
Post by: lextalionis on September 22, 2009, 02:31:13 PM
Thank you IchBin...I've decided to just edit the index.template for a menu button for now.

Okay, I've got it up and running on my production site (did a quick test and then got anxious to put this on my forum).  

SMF 1.1.9 and TP 1.0 beta 4, using a fairly old skin by Crip "Black Rain" but the admin package install of TP Reviews installed w/o a hitch.

http://www.motleypixel.com/forum/index.php?action=tpmod;rvws

Okay, everything is working except I can't seem to get the "Rate as User" button to show when on as a guest.  Here are the guest TP Review perms:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Fguest_perms.gif&hash=fc5157dc1587012eb08a85e6e649122d4dafca26)

Now, guests are not allowed to posts forum topics, figured that might be the reason why but turning that on didn't result in a guest able to rate an item either.

Hummm...any ideas?  I also have a "regular member" account if you would like to test it.  I'm feeling good about this module and I fully understand that dragoon is quite busy atm, but I'm willing to go with this as-is.

Thanks for your help.
Roy
Title: Re: TP Reviews module
Post by: Ken. on September 22, 2009, 02:38:59 PM
Roy, I just posted a test comment and that worked, but trying to post a rating did not.

In your Permissions>TP Reviews cp there is a setting for 'Rate as user' so you need to make sure you have that checked.

EDIT: Now that your screen shot is showing (it didn't before) I can see that you have it checked.  ;D
Title: Re: TP Reviews module
Post by: lextalionis on September 22, 2009, 03:57:23 PM
This is correct, right now with the above screen shot for guest TP Review perms, a guest can only comment but can not rate.  This must be a forum permission that guest don't have I suppose, any thoughts here?

I really need a guest to be able to "Rate".

Thanks,
Roy
Title: Re: TP Reviews module
Post by: Ken. on September 22, 2009, 05:02:40 PM
My suggestion would be to un-check the guest rate permission and save... then re-check the permission and save.
If that is not a fix then we will likely need coding help and at this point I'm not sure that it's going to be available.


EDIT: Have you tried this in the SMF Core Default theme to see if it works there?
Title: Re: TP Reviews module
Post by: lextalionis on September 22, 2009, 05:12:58 PM
Oh boy, well that didn't work either...hummm.  Maybe I can see by adjusting a guest forum perms to the same as a user and slowly remove perms until it stops working?

Also, I when viewing the index of reviews:  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws  I would really like to change the header column descriptions by changing Name to: Select Lens Manufacturer and Type   and change  Item to:  Lens Count.  This would be a custom code edit that I "think" shouldn't be too hard.  I tried editing tpreviews.english.php and it didn't work.  I guess just to give it more of a "Review" site feel?

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on September 22, 2009, 05:46:23 PM
In the language file you are probably looking to change these:
$txt['tp_rv_name'] = 'Name';
$txt['tp_rv_items'] = 'Items';
Title: Re: TP Reviews module
Post by: lextalionis on September 22, 2009, 06:15:37 PM
Thanks IchBin...I've changed it to:

$txt['tp_rv_name'] = 'Lens Reviews';
$txt['tp_rv_items'] = 'Lens Count';

Cleared my cache and it still show Name and Item, does it say this for you?  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws

-Roy
Title: Re: TP Reviews module
Post by: IchBin on September 22, 2009, 06:50:47 PM
I can't remember how these packages work, but I think they make a copy of the files to the SMF folders. Which file are you editing? The one in the tp-files folder, or the one in the Themes folder? If the file exists in both places, try editing the other and see if that is the file it's using.
Title: Re: TP Reviews module
Post by: lextalionis on September 22, 2009, 07:25:12 PM
I'm only editing the one in the tp-files folder, the Settings.english.php in both the current Theme and default folders don't contain these text strings.  I guess I could add them to the settings.english.php in both the default and current theme language folder and see?

-Roy
Title: Re: TP Reviews module
Post by: IchBin on September 22, 2009, 08:19:41 PM
No there should be a TPReviews.english.php file in your languages folder for the default theme. I'm not sure which files is getting loaded, so I would check that first. There's no reason to add anything to the settings.english file.
Title: Re: TP Reviews module
Post by: lextalionis on September 23, 2009, 12:12:26 AM
Okay, you are right, there is a tpreviews.english.php in my default languages folder and I've updated it to reflect:

$txt['tp_rv_name'] = 'Lens Reviews';
$txt['tp_rv_items'] = 'Lens Count';

Yet it still doesn't show.  I even reverted the site back to the default SMF theme just to check and it still doesn't change anything.  Is there any way to find out which language file is being loaded...like ?debug=y or something?

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on September 23, 2009, 03:20:16 AM
Perhaps remove both of the language files, and then check to see if that text shows up on your page. Then add one at a time to see when the text appears. Then you can do know which files shows the text. That may not be the text, so search the rest of the file as well to see if that is indeed the text.
Title: Re: TP Reviews module
Post by: lextalionis on September 23, 2009, 03:52:09 PM
Okay, I figured some stuff out...want to share it here for others considering or currently using this module:

1.  Even if the perms for guest are set to the same as a regular member, a guest currently can not rate as user or critic even if all TPReviews permissions are checked.  I kindof need this one as I would like to make it as easy as possible for users to rate.

2.  On the index of reviews that top table header "Name" and "Items" are not translated via tpreviews.english.php; rather, it acutally in the TPReviews.template.php in the Themes\default root:

Find:
<tr class="titlebg">
<td width="95%">Name</td>
<td>Item</td>
</tr>';


Replace With:
<tr class="titlebg">
<td width="85%">Watever you want it to say</td>
<td>Custom Item</td>
</tr>';


3.  The TPReviews.english.php copied to your current Theme Language folder and edited will reflect changes after the Reveiew Index page.

So far so good with this review module.  I do hope Dragoon will resume further developement of this review module.

Here's where I stand now which show some of these column name changes:  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws

Thanks for the help Brad and Ken...I'll chime back in when I have several products fully entered for review.

-Roy
Title: Re: TP Reviews module
Post by: IchBin on September 23, 2009, 05:03:10 PM
Awesome, thanks for the update Roy!
Title: Re: TP Reviews module
Post by: Ken. on September 23, 2009, 07:12:36 PM
I've sent a note to Dragooon to see if he is able to address the permissions issue.
Title: Re: TP Reviews module
Post by: lextalionis on September 25, 2009, 03:06:52 AM
Okay,

Kind of hit a road block.  Here's a review I'm trying to put up for a Canon Zoom lens:  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws;sa=viewitem;id=3  

So, in my regular forum the tagging allowed for admins in post is html and I installed iframe as well...here's an example of that iframe amazon widget working fine in my forum:  http://www.motleypixel.com/forum/index.php/topic,21.0.html

Basically when I edit an item in TPReviews, it doesn't seem to be using the same set of posting tags as I have in the regular fourm.  Because I only will be posting products, I would prefer to have html and iframe, in addition most likely YouTube too.  Any thoughts how to enable same posting tagging as my forum?

I also feel that the Edit Item | Delete should not be visable under comments, esp. since it's not enabled for users or guests, but regardless, it's a click that results in access denied page.

Did you hear from Dragooon?

Thanks,
Roy

Title: Re: TP Reviews module
Post by: Ken. on September 25, 2009, 12:14:45 PM
The "Edit Item | Delete" was reported as a bug, but at this point there has been no resolution:
http://www.tinyportal.net/index.php/topic,24109.msg206043.html#msg206043

Using YouTube videos works as seen in This Test Video/Review (http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws;sa=viewitem;id=81).
The "Aeva ~ Auto-Embed Video & Audio" is in use on my forum.

On the posting tags question; not sure what you mean there but for the test review above I didn't use any tags for the video, just the YouTube address for the video:
http://www.youtube.com/watch?v=bFXRJlKRD4A

On the iFrame question... just tried that (for the first time) and didn't get it to work so far. I don't know what the answer will be but the question will take more research.
In my attempts so far it will work when previewing a review, but when the review is saved only the raw code is displayed.

So far I've not had a reply from Dragooon, it may take some time because of his school work load.

Title: Re: TP Reviews module
Post by: lextalionis on September 25, 2009, 02:52:29 PM
You know what's weird?  When I installed TP 1.0 beta 4 it seems to have wiped my installed packages (I say seems because they were no longer listed in the packages admin area); however, I do know for sure that my older ads management was acutaly still installed.  When I say my Ads Management gone in teh packages admin area I downloaded and installed the latest version and when I started using it, it had duplicate stuff everywhere from ads admin and to the ads themselves...I actually had to uninstall the new version through packages management and then manually uninstall the older version and then install the new version through ads management.

Now all this being said, same think with my older "youtube" package that put the youtube icon in the post tools.  Any way, I installed the Avea auto video embed and it's working now.  So no I guess I'll go and manually uninstall my old iframe package and install it again.

Thanks
Roy
Title: Re: TP Reviews module
Post by: Ken. on September 25, 2009, 03:40:10 PM
Quote from: lextalionis on September 25, 2009, 02:52:29 PM

Now all this being said, same think with my older "youtube" package that put the youtube icon in the post tools.  Any way, I installed the Avea auto video embed and it's working now.  So no I guess I'll go and manually uninstall my old iframe package and install it again.

Thanks
Roy

Glad things are starting to work out Roy. :up:
Please post any progress you are able to make on the iFrame issue. I'll look at it some more later to see if there is a way to make it work.

EDIT:
I've received a tip from trusted sources that the Module source code would likely need to be edited before an iFrame will work correctly in a Review, so for now we'll need to wait to see if Dragooon has time to address the issue.
Title: Re: TP Reviews module
Post by: lextalionis on September 25, 2009, 05:42:36 PM
Thanks Ken!

I got iFrame tagging to work:  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws;sa=viewitem;id=3  this is just a mock-up review of a DSLR lens...I need to work on a template (using BBC code) so I can quickly add new products.  My end goal, once I'm approved by PriceGrabber, is to have a PriceGrabber Kiosk instead of an Amazon widget.

All looks good, to summarize the feature requests, hopefully I can get some php development help from my end, this is what I would "like" in the end:

1.  Address noted bug about comment modify/delete being visable.
2.  Allow admin moderated rating for Guests aka they can rate, but admin/mod is notified via email when the rate is entered and only posted once admin/mod approved.
3.  Category query on the back-end to pull in the top N-rated items into the index page for TPReviews (I may have a good developer contact on my end to help with this to and in keeping with OpenSource guidelines I will posts updates here.  I would also apply this to the Dragoon created Recent Reviews php TP Bloc, which I've tried here:  http://www.motleypixel.com/forum/index.php

Cheers,
Roy
Title: Re: TP Reviews module
Post by: lextalionis on September 30, 2009, 03:27:55 PM
Ken and Brad,

Any thoughts on the future of this module?  I've send Dragooon an email too (several days ago) just asking about the status with no response yet.

Are there ever any cases of another developer taking ownership of a module?  I'm tearing into the code and I'm making some sense of it (with the help of a web developer) and I would really like to try to fix a few minor issues and enhance this module.

Thanks,
Roy
Title: Re: TP Reviews module
Post by: Ken. on September 30, 2009, 03:58:16 PM
No news at this point Roy, we'll just need to wait for a while to give Dragooon enough time to respond.
Title: Re: TP Reviews module
Post by: lextalionis on September 30, 2009, 04:33:45 PM
Just curious, is it frowned upon to modify modules and/or fix bugs during long absenses of support?  I would cerntainly post my findings here.

-Roy
Title: Re: TP Reviews module
Post by: Ken. on September 30, 2009, 04:37:51 PM
Quote from: lextalionis on September 30, 2009, 04:33:45 PM
Just curious, is it frowned upon to modify modules and/or fix bugs during long absenses of support?  I would cerntainly post my findings here.

-Roy
You are welcome to work on or edit files that you have on your site Roy.
As for posted altered code for this Module, please hold off on the for now, I'll send you a PM.
Title: Re: TP Reviews module
Post by: IchBin on September 30, 2009, 05:19:48 PM
I've spoken with Dragoon on IM just now. He's given permission for the TP team to go ahead and modify things if needed. If you have some fixes I'd be glad to add them. If not, I'll try to see if I can figure some things out when I get a spare moment.
Title: Re: TP Reviews module
Post by: lextalionis on September 30, 2009, 05:49:45 PM
Thanks guys!  Want to let you all know that I'm trying to be respectful...I understand priorities.

-Roy
Title: Re: TP Reviews module
Post by: Bec on October 01, 2009, 02:38:02 AM
I contacted Dragooon though his other site about 6 months ago now and he said he was too busy with his new gallery mod and other projects that nothing was going to happen with this one....
Title: Re: TP Reviews module
Post by: lextalionis on October 06, 2009, 02:49:14 PM
I've got hopes that either something will happen with this module OR a new reviews module will emerge...this is valuable module...when others are faced with using a more complex "pay-for" review system because there's just not much out there and they see one here in open-source format the demand will ramp quickly.

-Roy
Title: Re: TP Reviews module
Post by: IchBin on October 06, 2009, 02:54:17 PM
I've fixed a few errors in the code. I'm hoping I got them sorted. The only thing I haven't had a chance to look at is the guest error you reported. If I can't find that soon enough I'll at least post my fixed files for the errors.
Title: Re: TP Reviews module
Post by: lextalionis on October 06, 2009, 04:01:55 PM
I guess "hopes" equals Brad :) well at least it's something.  Thanks for looking into the code and what are your impressions with regards to ownership of this module?

-Roy
Title: Re: TP Reviews module
Post by: IchBin on October 06, 2009, 05:03:20 PM
Well, the ownership has been transfered to the TP Team by Dragoon. So, I don't see this module going to waste. :D If I can figure things out, I'll certainly add some features and fix it up as best I can. If you or anyone wants to help, I'm all for it. We can make this thing as cool as possible, only limited by the skills of coding abilities. lol
Title: Re: TP Reviews module
Post by: lextalionis on October 06, 2009, 06:52:10 PM
Okay Brad, thanks for the update...I'm glad to hear positive things about ownership.  While you work on some areas I will start looking at the TPReviews.php and asking some questions about the code with a developer friend that does a lot of php web forms.  Maybe I'll get him to register here.

It's probably too much to start off on, but I'd like to figure out how to select item where rating = max or something to that extent and then post it to the tpreviews category index so a user can see the top rated item up-front.  Of course, the little things stratightened out first is the main focus.

-Roy
Title: Re: TP Reviews module
Post by: Bec on October 09, 2009, 10:57:37 PM
Not sure if this is being worked on or not... but I am wondering with the rate fields rather than everyone having to input them when the review is created, can these be setup by default?
Title: Re: TP Reviews module
Post by: Ken. on October 09, 2009, 11:20:35 PM
Quote from: Bec on October 09, 2009, 10:57:37 PM
Not sure if this is being worked on or not... but I am wondering with the rate fields rather than everyone having to input them when the review is created, can these be setup by default?

That may not work so well Bec.  ;)
If you have several different categories, as is the case with mine, then you are going to need different rate fields for each category.

If you would like to look at just two of mine for a comparison you'll see that there are completely different rate questions for each review:
http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws;sa=viewitem;id=80
http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpmod;rvws;sa=viewitem;id=17
Title: Re: TP Reviews module
Post by: Bec on October 09, 2009, 11:30:48 PM
totally understand, mine would pretty much all be the same as we are reviewing bridal suppliers so its either good or bad lol
Title: Re: TP Reviews module
Post by: lextalionis on October 13, 2009, 02:33:23 PM
Brad, any update on the guest access?  If not, then could you explain which errors you corrected and update the OP files?

Right now for me the issues of not being able to post html in the item review description is kind of a problem and holding me on creating a template for the products I intend to review.  I know Bec was considering looking at this too.

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on October 13, 2009, 08:22:56 PM
I have fixed a few errors. One of them is when you view an item that does not have any ratings. In figuring the value for a rating, it was doing a division on the raters and ratings. If one value was empty, it was dividing by zero (which throws an error in the log). I have also fixed a few undefined index errors. Other than that, I haven't had a chance to look at the guest access yet. I'll try to post my files tonight.
Title: Re: TP Reviews module
Post by: IchBin on October 14, 2009, 09:17:12 PM
Ok, I have fixed quite a few things today on my lunch.

TPReviews Changes::

Suggested features:

If I missed anything major, please let me know. I can't guarantee any time I can spend on this. But I'll definitely try. :) Will attach the updated zip in the first post. It is not necessary to reinstall if you already have it installed. Instructions below for update.

Update instructions:
Title: Re: TP Reviews module
Post by: IchBin on October 14, 2009, 09:24:38 PM
A crap, just realized guest rating still isn't working as expected. Hold off on updating please.


--edit--
Well, it would appear it's much more involved than I originally thought. The code now allows a guest to vote. However, a guest can only vote once. This means, no other guest can vote. How would you keep track of guests who vote? If you don't, a guest could just sit there and vote multiple times... So, I'll have to think on this problem and see what kind of way we can allow more than one guest to vote.
Title: Re: TP Reviews module
Post by: Ken. on October 14, 2009, 10:25:56 PM
Just installed this current version to my test site IchBinâ„¢.  :)
http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws

One thing on the install, it would not install as is to SMF 1.1.10, so I did an edit to package-info.xml to change the version numbers and it went OK after that.
Quote<type>modification</type>
   <install for="1.1.10 - 1.1.99">
      <code>tp_do_mod.php</code>
      <code>TPReviews/Install/TPReviews_db.php</code>
      <require-dir name="TPReviews" destination="$boarddir/tp-files/tp-modules" />
      <require-file name="TPReviews/Templates/TPReviews.template.php" destination="$themedir" />
      <require-file name="TPReviews/Languages/TPReviews.english.php" destination="$languagedir" />
   </install>
   <uninstall for="1.1.10 - 1.1.99">

Don't know if you want feedback on this version but I'll post my error log entries in case you do.

These entries in the log occur after navigating to an existing test review:
http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=2
QuoteApply Filter: Only show the error messages of this URL  http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=2
Apply Filter: Only show the errors with the same message
8: Undefined index: by
File: /home/kenkayjm/public_html/tptest2/Themes/default/languages/Post.english.php (tp_below sub template - eval?)
Line: 90
   
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
   
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
   
8: Undefined index: by
File: /home/kenkayjm/public_html/tptest2/Themes/default/languages/Post.english.php (tp_below sub template - eval?)
Line: 90
   
http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=comment;id=2
Apply Filter: Only show the errors with the same message
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
   
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
   
http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=2
Apply Filter: Only show the errors with the same message
8: Undefined index: by
File: /home/kenkayjm/public_html/tptest2/Themes/default/languages/Post.english.php (tp_below sub template - eval?)
Line: 90

http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=2
Apply Filter: Only show the errors with the same message
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
   
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
   
8: Undefined index: by
File: /home/kenkayjm/public_html/tptest2/Themes/default/languages/Post.english.php (tp_below sub template - eval?)
Line: 90
   
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432

http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewcat;id=1
Apply Filter: Only show the errors with the same message
8: Undefined index: tp-said
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPShout/Sources/TPShout.php
Line: 432
Title: Re: TP Reviews module
Post by: IchBin on October 14, 2009, 10:39:25 PM
All of those Undefined errors are from the new version of TP beta 5b Ken.

Are you saying this version wouldn't install unless you edited the 1.1.1 and changed it to 1.1.10 ? That shouldn't be a problem. Maybe I'll go test the install again and see if I have the same problem. Thanks!
Title: Re: TP Reviews module
Post by: Ken. on October 14, 2009, 10:56:43 PM
Yes, it would not install until the version number was changed in the package.

Title: Re: TP Reviews module
Post by: ZarPrime on October 14, 2009, 11:43:26 PM
Quote from: IchBinâ„¢ on October 14, 2009, 09:24:38 PM
--edit--
Well, it would appear it's much more involved than I originally thought. The code now allows a guest to vote. However, a guest can only vote once. This means, no other guest can vote. How would you keep track of guests who vote? If you don't, a guest could just sit there and vote multiple times... So, I'll have to think on this problem and see what kind of way we can allow more than one guest to vote.

I don't know why it's so important to allow guests to vote.  There has to be some value in registering at a Forum, at least I would think so.  If it was me, I would just allow guests to view the review but not to comment or rate it.  Of course, this is only one person's opinion.  It does seem like it would make the module simpler to code though.

I've been to sites on the net that allow you to rate things without logging into something.  I suppose they either have to set a cookie or read IP addresses into a database so that the same person can only vote once.

ZarPrime
Title: Re: TP Reviews module
Post by: Ken. on October 14, 2009, 11:53:51 PM
That's my sentiment as well ZP, I never allow guests to do anything beyond viewing.

Title: Re: TP Reviews module
Post by: IchBin on October 15, 2009, 12:24:04 AM
Figured it out. Apparently using winzip does not work. I recompressed the zip with windows compression tool and the installer works without making the change. Not sure what tool you used to make the change on that install number, but I suspect that your tool saved the zip properly after you made the change. I agree about guests voting. It's going to require quite a bit of code change to allow it to work properly. And quite frankly, for only one person to suggest it I'm not sure it is worth it at this point.
Title: Re: TP Reviews module
Post by: Ken. on October 15, 2009, 01:13:28 AM
I use 7-Zip, it's free and to me it works better than winzip.
Title: Re: TP Reviews module
Post by: lextalionis on October 21, 2009, 04:36:20 PM
Thanks for the work and fixes Brad.  I definitally can't argue the guest rating thing.  I agreen with all here that there's value to having somone that really wants to rate an item to register.  I can definitally do without it, but again thanks for the effort.

I've had a very busy schedule and plan to update the files soon and do some testing.  The feature request or future "to-do" of adding the top rated item from each category to the front index of tp reviews is a very good one.

I'll chime in later once I do some more testing.

*Update:

Okay here's my testing results:

Guest can see and click on Rate it! even when TP Reviews Guest perms have only access reviews and search reviews enabled.  When they click on Rate it! it takes them to the lens summary page.  Perhaps either make it where tp reviews perms "rate lens as user" is unchecked the Rate it! doesn't show or when it's checked and the guest clicks Rate it! it brings them to forum registration?

Every other fix seems to have taken which is really nice.

Another thing I find odd is the item post and my forum tagging vs TP Reviews tagging.

Here are the tags avail. in regular forum posts:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Fforum_tags.gif&hash=535200e208400c6a8e7001d7259b69b23303872e)

Now here are the tags avail. in TP Reviews:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.motleypixel.com%2Fpublic%2Fposts%2Ftpreviews_tags.gif&hash=cd617f5e5d9ac6fc68bb583c613274295ea6d4e4)

I'm either not using it right or it's not carrying over to the TP Reviews, but [html] tagging doesn't seem to be working even though it's enabled.  For example, how would I go about inserting this "Share This Button" script into a review item?  Like used in my PHP upper panel bloc here:  http://www.motleypixel.com/forum/index.php

<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4ace7f3f0a32b77e">
<img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border-style: none; border-color: inherit; border-width: 0; float: right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4ace7f3f0a32b77e"></script>


The html tag works with this code in a normal forum post, in other words this code:

[html]<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4ace7f3f0a32b77e">
<img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border-style: none; border-color: inherit; border-width: 0; float: right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4ace7f3f0a32b77e"></script>[/html]
produces this in a forum post: http://www.motleypixel.com/forum/index.php/topic,170.0.html
and this in the TP Reviews post:  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws;sa=viewitem;id=3

In the end, I intend to emulate this review system:  http://www.fredmiranda.com/reviews/showproduct.php?product=303&sort=7&cat=27&page=3

Pretty close eh?  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws;sa=viewitem;id=9

I do like the integer rating values of Fred Miranda aka Overall Rating 9.22, Price Rating 7.39, vs. the 4 out of 5 stars used in TP Reviews, but this is just a personal preference.  Maybe in the future an option for integer or star ratings could be available?

Now I just need to get my review item format ironed out and then I can start replicating it for each lens which is around 63 lenses at the moment.

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on October 26, 2009, 03:08:13 AM
Fixed the "Rate It" link for quests.

The BBC buttons you reference in your post screen compared to the TPReviews screen are because the editor is not loaded from SMF per say. The editor is setup in the showBBC() function in the TPReviews.php file. If you want more options, you'll have to manually add more to that function.

Allowing to input HTML, I would rather not. Allowing HTML is a huge security risk. I'd rather just stick to allowing only BBC at this point.

I have added user avatar next to the item when viewing a category of items. I have also added a setting to show recent reviews on the frontpage. I haven't yet figured out how to show most high rated. That is going to be quite involved in figuring out how to tally up the rates because of the way everything is stored, so I'm not promising anything in that department yet. lol

I'll try to put a new package up soon.
Title: Re: TP Reviews module
Post by: Ken. on October 26, 2009, 11:27:03 AM
Quote from: IchBinâ„¢ on October 26, 2009, 03:08:13 AM
Fixed the "Rate It" link for quests.

The BBC buttons you reference in your post screen compared to the TPReviews screen are because the editor is not loaded from SMF per say. The editor is setup in the showBBC() function in the TPReviews.php file. If you want more options, you'll have to manually add more to that function.

Allowing to input HTML, I would rather not. Allowing HTML is a huge security risk. I'd rather just stick to allowing only BBC at this point.

I have added user avatar next to the item when viewing a category of items. I have also added a setting to show recent reviews on the frontpage. I haven't yet figured out how to show most high rated. That is going to be quite involved in figuring out how to tally up the rates because of the way everything is stored, so I'm not promising anything in that department yet. lol

I'll try to put a new package up soon.

Thank you for your continuing efforts IchBinâ„¢.  :up:
Title: Re: TP Reviews module
Post by: lextalionis on October 26, 2009, 01:11:26 PM
Very nice, thanks for the update.

So will it be intuitive enough for guests to know they have to register to post a review?  Thinking along the lines of how the system works here: http://www.slrgear.com/reviews/showproduct.php/product/77/cat/11  if you click "Post a Review" in the review stats box at the top it prompts you must be registered and then redirects to a registration page.

The user avatar fix is a nice touch...thanks for adding that.

Okay, so I'll need to find the showBBC() in the TPReviews.php file and add some stuff.  What I want to be able to post is this:  http://www.motleypixel.com/forum/index.php/topic,21.msg40.html#msg40  which consists of this code:

[table][tr][td][img]http://www.motleypixel.com/reviews/Canon%20Zooms/Canon%20EF%2070-200mm%20f2.8%20L%20IS/slides/canon_ef_70-200mm_f2.8_L_IS_13.jpg[/img][/td][td][iframe=120,240]http://rcm.amazon.com/e/cm?t=thmopidslerea-20&o=1&p=8&l=as1&asins=B00006I53X&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr[/iframe]
[/td][/tr][/table]

This thread is dedicated to comments, experiences, tips, and sample photos for the [b][u]Canon EF 70-200mm f/2.8 L IS USM[/u][/b] lens.  If you would like to have your photo or photos show-cased under the photo light-box stream here:  [url=http://www.motleypixel.com/reviews/index.htm?openfolder=Canon%20Zooms/Canon%20EF%2070-200mm%20f2.8%20L%20IS/]Canon EF 70-200mm f/2.8 L IS USM Sample Photo Stream[/url] then post them here!

[html]<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4ace7f3f0a32b77e">
<img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border-style: none; border-color: inherit; border-width: 0; float: right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4ace7f3f0a32b77e"></script>[/html]


Two things are enabled in the normal forum that allows this which are html for admins and an iframe tag added to forum posts (iframe is needed for Amazon widgets and html for the sharethis button bar).

Thinking about it, I have the "sharethis" modification installed which incorporates the sharethis social bookmarking throughout the site, but it seems that TPReviews is immune to this mod.  No biggie, adding it manually to each review is prefered since each review item will be duplicated in a similiar format.

Do you know what file in the current theme or default them dirs that I need to get the code which allow these functions in normal posts to copy over to the showBBC() function for TPReviews.php?

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on October 26, 2009, 03:34:40 PM
I think the Post.template.php file is where the BBC stuff is setup if you want to look at it. As for other mods like your Social bookmarking. Just remember that this is a module. Mods for SMF do not alter other mods. If you want a mod to work inside another mod or module, there is going to be some manual coding to make those customizations work.
I don't know how the [html][/html] tags work. So I'll see if I can find that out and incorporate it. Just know that it will ONLY be an admin permission. No other users will be able to use that tag.
Title: Re: TP Reviews module
Post by: lextalionis on October 26, 2009, 03:39:29 PM
Thanks Brad, yep I've only enabled html tagging for admins which by itself is good, but in my case, no one but admins will be authorized to add new reviews.  I'm controlling this as I have a unique single review site which is DSLR Camera Lens Reviews only.

I'll try looking at the post.template.php some later to see if I can get the post for a review to run like my normal forum posts.

-Roy
Title: Re: TP Reviews module
Post by: lextalionis on November 18, 2009, 09:05:15 PM
Brad,

Curious if you have updated the OP files per your reply # 164?

I'm pretty sure I don't have the features you added.  Here's the final look at how a review will look for camera lenses.  I was never able to get the html tag to work w/in this mod so I'm having to use bbc only which takes a hit for me since I can't use two components:  http://www.motleypixel.com/forum/index.php?action=tpmod;rvws;sa=viewitem;id=3

Just now revisiting this but it seems like a user can access the rate it more than once but it just doesn't record the rating, so effectivly you can keep rating but only the first takes effect. 

Thanks,
Roy
Title: Re: TP Reviews module
Post by: IchBin on November 19, 2009, 02:46:04 PM
Ah crap, you are right. I totally spaced posting the changes. I'll try to get that today.
Title: Re: TP Reviews module
Post by: lextalionis on November 19, 2009, 08:07:54 PM
Cool thanks!  I'll give it a whirl and post the results.

-Roy
Title: Re: TP Reviews module
Post by: IchBin on November 20, 2009, 02:28:21 AM
Starting a new topic for the next one.
http://www.tinyportal.net/index.php?topic=31394.0