vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Portal Software - [Chris] Reviews (https://vborg.vbsupport.ru/showthread.php?t=298223)

Christos Teriakis 05-23-2013 09:53 AM

Quote:

Originally Posted by Dave_The_Don (Post 2423710)
what cost will the donation more likely be for the remove copyright, and what extra features could these be

Once upon a time I have replied to an exact same question and I've been baned from Marco for 15 days baceause "I talked commercially, something that is prohibited by site's rules". So the only that I can say is that when I'll start operating a simple site you're welcome to register there.

skol 05-23-2013 09:54 AM

Thanks for great mod Christos..Could you tell me were to edit the heading on the reviews page,I know it carries the site global link stylevar but that dosen't work to well on my theme.

Thanks

Dave_The_Don 05-23-2013 10:01 AM

Quote:

Originally Posted by Christos Teriakis (Post 2423712)
Once upon a time I have replied to an exact same question and I've been baned from Marco for 15 days baceause "I talked commercially, something that is prohibited by site's rules". So the only that I can say is that when I'll start operating a simple site you're welcome to register there.

keeping my eye out for that, thanks for the promt help and support today ;)

Christos Teriakis 05-23-2013 10:05 AM

Quote:

Originally Posted by skol (Post 2423713)
Thanks for great mod Christos..Could you tell me were to edit the heading on the reviews page,I know it carries the site global link stylevar but that dosen't work to well on my theme.

Thanks

That point is using standard vb stylevars: <h3> for div class="title". But is a link and don't know from where it gets the link.
For other colors (eg changing the blue letters or lines etc) you must edit:
Adimincp-> Styles & Templates-> Select "Edit Templates" on the right of your style.
The find CSS templates and edit: reviews.css

skol 05-23-2013 10:41 AM

Yes thanks I found that and modified a few things..I'm just stuck with trying to figure out how to change the link colour for the heading without changing everything globally..

Dave_The_Don 05-23-2013 11:13 AM

i just looked and found this worked :-

open style
reviews_browse_bit
and search for

<a href="{vb:raw reviewlink}"><span>{vb:raw title}</span></a>

and change to be this

<a href="{vb:raw reviewlink}"><span style="color:#000;">{vb:raw title}</span></a>

change the colr to suit your style

Dave_The_Don 05-23-2013 11:17 AM

also same for
reviews_categories_bit

same piece of code

CharlieDelta 05-23-2013 12:52 PM

Quote:

Originally Posted by Christos Teriakis (Post 2423658)
No ideas when it comes to deal with vb editor. Just try to set "Enchanged editor for users".

Sorry, I don't understand what this is - "Enchanged editor for users".

****Edit****
Upon re-reading I realized you were referring to the Enhanced and Standard editor. This is in fact the issue. If standard editor is being used there is a formatting issue.

skol 05-23-2013 01:26 PM

Quote:

Originally Posted by Dave_The_Don (Post 2423724)
i just looked and found this worked :-

open style
reviews_browse_bit
and search for

<a href="{vb:raw reviewlink}"><span>{vb:raw title}</span></a>

and change to be this

<a href="{vb:raw reviewlink}"><span style="color:#000;">{vb:raw title}</span></a>

change the colr to suit your style


Thanks Dave,but still no joy..:(

Dave_The_Don 05-23-2013 02:39 PM

i would need you board url to see if its added correct as i have only the images u show :)

albibak 05-23-2013 04:54 PM

Thx for the update Christos.

TheChief 05-23-2013 05:18 PM

Great mod..........added to my forum and in use already

I wonder (and appologies if this has been covered off). Can you set rating questions again a certain category.

I have a game category and would like a Technology category however the rating questions would need to be different

Thanks

Paul

Dave_The_Don 05-23-2013 05:58 PM

Quote:

Originally Posted by TheChief (Post 2423762)
Great mod..........added to my forum and in use already

I wonder (and appologies if this has been covered off). Can you set rating questions again a certain category.

I have a game category and would like a Technology category however the rating questions would need to be different

Thanks

Paul

im considering donating and extras will flow ;)
this guy is a genious :)

Toorak Times 05-23-2013 06:21 PM

Quote:

Originally Posted by Dave_The_Don (Post 2423769)
im considering donating and extras will flow ;)
this guy is a genious :)


Works for me, when you get mods and a coder this good and so approachable...GOLD... I have donated and will again (see I want the Auction mod as well....)

lazytown 05-23-2013 08:30 PM

Is it possible for the admin to create a new listing(review) with no rating, but then forum members give all the ratings?

Or the reverse, can regular members (usergroup permissions) have permission to create a new listing (review)?

Thanks

CharlieDelta 05-23-2013 09:23 PM

Chris there is a bug that is causing some styling issues. This bug is very inconsistent and I first thought it was with another mod on the forum home page but have since discovered it occurring in the general settings page (profile.php?do=editoptions). Attachment 145162


Here is more information on the issue occurring. http://www.dragonbyte-tech.com/f46/s...476/#post63904

Christos Teriakis 05-24-2013 04:51 AM

Quote:

Originally Posted by vissa (Post 2423786)
Is it possible for the admin to create a new listing(review) with no rating, but then forum members give all the ratings?

No. Admin (you can also call him Editor... or Author) must post a rating with his review.

Quote:

Originally Posted by vissa (Post 2423786)
Or the reverse, can regular members (usergroup permissions) have permission to create a new listing (review)?

Thanks

Yes... Usergroup permissions are post and rate for it. Post means the main review (with rating), rate means the user rating below.

Christos Teriakis 05-24-2013 05:03 AM

Quote:

Originally Posted by CharlieDelta (Post 2423790)
Chris there is a bug that is causing some styling issues. This bug is very inconsistent and I first thought it was with another mod on the forum home page but have since discovered it occurring in the general settings page (profile.php?do=editoptions). Attachment 145162


Here is more information on the issue occurring. http://www.dragonbyte-tech.com/f46/s...476/#post63904

Edit:
1.- reviews_usercp.php
2.- reviews_modcp.php

Find:
Code:

$includecss['container'] = 'reviews.css';
Replace with:
Code:

$includecss['reviews'] = 'reviews.css';

albibak 05-24-2013 06:16 AM

Ideas for a future version:

- Have the possibility to have a review's preview before submit.
- Have the possibility to configure the rank by 5, 10 or 20), to have note on 5, 10 or 20 points.
- Have the possibility to put image into the text of the review.
- Change the image "write a review" by a text (easier to translate ^^)

- Have the possibility to have different review categories, so different ranking.
For example a categorie videogame, so rank bu graphism, gameplay, sound..;
And a categorie Film, so rank by dialog, history...

Christos Teriakis 05-24-2013 06:47 AM

Quote:

Originally Posted by albibak (Post 2423858)
Ideas for a future version:

- Have the possibility to have a review's preview before submit.
- Have the possibility to configure the rank by 5, 10 or 20), to have note on 5, 10 or 20 points.
- Have the possibility to put image into the text of the review.
- Change the image "write a review" by a text (easier to translate ^^)

- Have the possibility to have different review categories, so different ranking.
For example a categorie videogame, so rank bu graphism, gameplay, sound..;
And a categorie Film, so rank by dialog, history...

2.- What are SlimLine AddOns?

As the name points, they're ...slim. No big addons with dozens of unwanted features. They'll have all the basics features (none missing), but nothing more. I'll code all of them based on my own use only. Sorry for it, but finally all of them will be totally free. Download and check them, and if you find them usefull, the use them. Otherwise, look for something better.

albibak 05-24-2013 06:56 AM

I know, but it's idea no more...

GamerPerfection 05-24-2013 08:15 AM

Is it possible to have a save as draft feature? People may not be ready to sit there and type a whole review in one go. I know there are other options like type it up in notepad then copy paste when it's complete, but it would be better if there was a save as draft option.

CharlieDelta 05-24-2013 12:15 PM

Quote:

Originally Posted by Christos Teriakis (Post 2423842)
Edit:
1.- reviews_usercp.php
2.- reviews_modcp.php

Find:
Code:

$includecss['container'] = 'reviews.css';
Replace with:
Code:

$includecss['reviews'] = 'reviews.css';

Thanks Chris but the problem still exists.

Christos Teriakis 05-24-2013 01:20 PM

Quote:

Originally Posted by CharlieDelta (Post 2423903)
Thanks Chris but the problem still exists.

Then disable the Reviews Widget and/or Reviews Forum sidebar block. Only at that point there is this code. But again it's how the template treats the code. Has nothing to do with what they said there. In programming (if its coding error) it appears always and not sometimes appears and sometimes not. To appear sometimes and sometimes not has to do with the template or special code.
In final word.... does it appears with the your default template (even ...sometimes)?

Chris

Dave_The_Don 05-24-2013 03:53 PM

hi, just wondering if the photo's added to reviews when clicked are supposed to open with the lighbox.js
if so this is not working.

Christos Teriakis 05-24-2013 04:05 PM

Quote:

Originally Posted by Dave_The_Don (Post 2423937)
hi, just wondering if the photo's added to reviews when clicked are supposed to open with the lighbox.js
if so this is not working.

I know it... I'll add it on the next version. The original coding was for games and thus at that point I was expecting to open the video player.

Dave_The_Don 05-24-2013 05:19 PM

Quote:

Originally Posted by Christos Teriakis (Post 2423941)
I know it... I'll add it on the next version. The original coding was for games and thus at that point I was expecting to open the video player.

cheers chris :)

Dave_The_Don 05-24-2013 05:28 PM

Quote:

Originally Posted by Toorak Times (Post 2423771)
Works for me, when you get mods and a coder this good and so approachable...GOLD... I have donated and will again (see I want the Auction mod as well....)

indeed well said ;)

donation just sent hehehehe :)

shanef 05-25-2013 02:52 AM

hello, i followed all the steps and created a category fine but when i click on the category link on the cms page i get this

The requested URL /forum/reviews/2/websites.html was not found on this server.

could someone be so kind as to help me please. thank you


___________FIXED__________

Turned off SEO Friendly URLs and all is well :)

Dave_The_Don 05-25-2013 08:20 AM

Quote:

Originally Posted by shanef (Post 2424042)
hello, i followed all the steps and created a category fine but when i click on the category link on the cms page i get this

The requested URL /forum/reviews/2/websites.html was not found on this server.

could someone be so kind as to help me please. thank you


___________FIXED__________

Turned off SEO Friendly URLs and all is well :)

sounds like you forgot to add this code in the .htaccess file :-

PHP Code:

RewriteEngine On

RewriteRule 
^reviews/([^/]*)/ ./reviews.php?do=main&catid=$[L,NC]
RewriteRule ^review/([^/]*)/ ./reviews.php?do=viewreview&reviewid=$[L,NC]
RewriteRule ^reviewer/([^/]*)/ ./reviews.php?do=reviewer&reviewerid=$[L,NC


CharlieDelta 05-27-2013 06:36 PM

Quote:

Originally Posted by Christos Teriakis (Post 2423909)
Then disable the Reviews Widget and/or Reviews Forum sidebar block. Only at that point there is this code. But again it's how the template treats the code. Has nothing to do with what they said there. In programming (if its coding error) it appears always and not sometimes appears and sometimes not. To appear sometimes and sometimes not has to do with the template or special code.
In final word.... does it appears with the your default template (even ...sometimes)?

Chris

Thanks Chris. Disabling the forum side block has worked. And yes it did appear in the default template.

Christos Teriakis 05-28-2013 04:37 AM

Quote:

Originally Posted by CharlieDelta (Post 2424513)
Thanks Chris. Disabling the forum side block has worked. And yes it did appear in the default template.

If it appears even in your default template, then is better to keep my mouth close, and not because I admit that there is something wrong in my code.

In anycase, as I don't like to let you in the middle of the way, you can use the follow procedure to have the the widget/block appearing in your site:

1.- At Admincp-> Styles & Templates-> Style Manager-> Edit Templates-> CSS Templates add to additional.css
Code:

.minigraph {
    float:{vb:stylevar left};
    background-color:#cecece;
    border: 1px solid #003366;
    position:relative;
    width:70px;
    padding:0
}
.minigraph .minibar {
    display:block;
    position:relative;
    background-image:url(christeris/reviews/images/bargraph.gif);
    background-position:{vb:stylevar left} center;
    background-repeat:repeat-x;
    border-{vb:stylevar right}:1px solid #003366;
    text-align:center;
    color:#fff;
    height:14px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:8pt;
    line-height:1.4em
}
.minigraph .minibar span {
    position:absolute;
    {vb:stylevar left}:1em
}

2.- Forget the code that exists in Widget_Block_Latest_Reviews.txt and use the code:
Code:

$maxreviews = 5;
global $db, $vbulletin, $vbphrase, $vboptions;
ob_start();
$qry = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."reviews_reviews WHERE active=1 AND status=1 AND logo<>'' ORDER BY postdate DESC LIMIT $maxreviews");
while ($row = $db->fetch_array($qry)) {
        $thisreviewid = $row["id"];
        $thisreviewtitle = htmlspecialchars_uni($row["title"]);
        $thisreviewlink = 'reviews.php?do=viewreview&reviewid='.$row["id"].'';
        $thisreviewlogo = 'christeris/reviews/photos/thumbs/'.$row["logo"].'';
        $thisreviewbarwidth = intval($row["adminrating"] * 10);
        $thisreviewrating = intval($row["adminrating"]);
        $thisreviewratingtitle = $vbphrase["reviews_rating_".$thisreviewrating.""];
        $html .= '<div class="cms_widget_post_bit widget_post_bit">
                <div class="cms_widget_post_userinfo widget_post_userinfo">
                <div class="cms_widget_post_useravatar widget_post_useravatar">
                <a class="comments_member_avatar_link" href="'.$thisreviewlink.'">
                <img src="'.$thisreviewlogo.'" alt="'.$thisreviewtitle.'" /></a>
                </div></div><div class="cms_widget_post_comment widget_post_comment">
                  <h4 class="cms_widget_post_header widget_post_header">
                <a href="'.$thisreviewlink.'">'.$thisreviewtitle.'</a></h4>
                '.$thisreviewratingtitle.'
                <span class="rating" style="float:right;">
                <div class="minigraph">
                <strong class="minibar" style="width:'.$thisreviewbarwidth.'%"><b>'.$thisreviewrating.'</b></strong>
                </div></span></div></div>';
}
$output = $html;
ob_end_clean();


Christos Teriakis 06-07-2013 07:12 AM

Hello,

I want to ask those who have installed SL Reviews, if a modification which most probably will makes the new version incompatible with the previous one, will causes them problems. What I'm trying to say is "Are you using it in a live site?".

What I want to change is the way that rating questions are currently working. As you know, in the current version the Administrator setup the questions which are global for all reviews. Now it came in my mind to move it to the Reviewer. Independed of category the Reviewer will be able to set his own rating questions.

Example: I'm posting a Review for a game and I want to add only: Sound quality, Playbility and Value for money as rating questions, while you, posting a similar review you want to add much more questions.

Please note that the average rating will remains the same as the calculation is the same (Total points / Total questions).

I believe that this way you'll have the freedom to use different types of reviews with the same installation.

I'll appreciate if you click "Like" to this post as a way to determine how many you agree with this plan.

Christos

fxdigi-cash 06-07-2013 08:01 AM

I believe this is the best mod so far I ran into... great job Christos Teriakis

Thanks a lot.

And Yes, that new idea you mention is great. I totally agree with you :)

Thanks again

albibak 06-07-2013 10:12 AM

Goog idea Chris, but the admin can have the possibility to activate or not this feature.
It will be nice if the admin can purpose some questions for specific review.

For example, a review for a game, the reviewer have quetion like: sound, graphics..
If it's a film's review, it wmust be : graphics, history...

You know what I mean?

Christos Teriakis 06-07-2013 01:54 PM

Quote:

Originally Posted by albibak (Post 2426345)
Goog idea Chris, but the admin can have the possibility to activate or not this feature.
It will be nice if the admin can purpose some questions for specific review.

For example, a review for a game, the reviewer have quetion like: sound, graphics..
If it's a film's review, it wmust be : graphics, history...

You know what I mean?

Yes, I got your meaning but unfortunatelly is something that can't be done. It's different database structure between these 2 options. That's why I said that will not be compatible with the earlier version.

jshallo 06-08-2013 08:06 PM

Hi Christos, Just installed this on my site and did a test post. I'm looking to use it for cruise ship reviews. Some of what I see in this mod and others is alittle too complicated for my needs. For example, I don't need a Editors Review for each ship.. so I guess I would need a more slimmed down version.

I like what you have in place for the categories and use of the CMS, user panel. I just would want a more simple version. I'll give you a brief overview of how I would like to use your software.

1. Users goes to Cruise Reviews section.

2. User Wants to Post a Review.

3. User Selects from parent category (Cruise Lines). Then picks ship to review.
(ie. Carnival Cruise Lines, Carnival Breeze. The review would actually be written on the Carnival Breeze. The present options make this alittle bulky.

This same format could be used for other products, restaurants, hotels, etc.
For example. Parent category> Restaurants>Country>State>City>Restaurant Name. or even
Hotels>Country>State>City>Hotel Name. My point is the admin would set that the items in the last category are the items to be reviewed.

4. I don't need editorial reviews at the top, as I want USER reviews from the community. If I had a heading it could include a photo of the ship, company logo, ship history text, etc. However, with 100's of ships an editorial heading is not ideal. I also this a more basicly (non editorial heading).. just a product head,custom questions, basic 1-10 star rating, and CMS article like narative where the user can add images, stylized text, embed YouTube videos would be wonderful and flexible.

5. I could use the PRO's / CON's section.. and maybe some fixed questions as your proposing but as options.

6. A rating 1-10 stars or other system would be nice as you have already for each user review.. so then someone looking reviews for Carnival Breeze.. can see that out of 100 reviews.. the community has given this ship 8 out of 10 stars, etc.

This is just my five cents. Its not far from what I would love to see.

digitard 06-12-2013 04:12 PM

I'd love to see an "Administrator" option to create products with the information, but not need to actually input a 1-10 review.

For example I'd be able to create the name, keywords, a link to the manufacturer site, image, use the review box to put in information about the product (like the official what it has, cost, etc), and the production year. Then submit it, and my users sub-reviews can create the actual star rating.

This would be good for things like store/site reviews of things that aren't 100% products or if we want to remain "out of the game".

Christos Teriakis 06-12-2013 04:37 PM

Quote:

Originally Posted by digitard (Post 2427694)
I'd love to see an "Administrator" option to create products with the information, but not need to actually input a 1-10 review.

For example I'd be able to create the name, keywords, a link to the manufacturer site, image, use the review box to put in information about the product (like the official what it has, cost, etc), and the production year. Then submit it, and my users sub-reviews can create the actual star rating.

This would be good for things like store/site reviews of things that aren't 100% products or if we want to remain "out of the game".

There is a global misunderstanding on Reviews scripts, and I can admit that it gots me long time (actually years) to understand how these scripts are working. Well when I was talking for reviews, I had in mind exactly what you wrote. Admin posts something (eg an article) and users rate/review it.

Unfortunatelly what I was (and you ... and many others) thinking about reviews are not reviews script. Are rating scripts. The normal Reviews scripts (just like this) are scripts where the author has reviewed something and posts his final review for reading (mostly) and rating by the users.

A good example to understand it, is the reviews that most magazines are posting. eg Let's say a Mobile phones magazine posts some reviews for the new models. The author checks the new model and then he post the reviews. Users are reading the review and usally they post replies with their opinions, or adding a global rating.

What you asked for are Rating scripts, which are most common (in my opinion). eg You want to operate a Hotels directory and you're posting some dozens of Hotels (in most cases you never seen them), expecting that users who know these hotels will post reviews.

Am I right? Pitty, but this mod has been developed scoping the first way. Even if can be modified to work like you want, I don't suggest it, as most probably will be a waste of time.

Chris

Christos Teriakis 06-12-2013 04:43 PM

Quote:

Originally Posted by jshallo (Post 2426726)
........
1. Users goes to Cruise Reviews section.
2. User Wants to Post a Review.
.....

Have you a site relevant to Travel business?:) I had a Travel Office for 17 years, but I closed it last year.... Internet is good, but kills some professions...

Well, it's 5 years that I've coded a Travel portal. Does what you wrore and many more. Not only reviews, but tours and many...many others... The problem is that is for vB3. It was very big project (around 100+ php files, same amount of templates etc), and never had the time to port it to vB4.

So, the only that I can say is what I replied to @digitard before. You need a rating script. This is a review script.

Chris


All times are GMT. The time now is 06:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01601 seconds
  • Memory Usage 1,883KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete