vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - [OzzModz] Reviews (https://vborg.vbsupport.ru/showthread.php?t=304317)

dizzynation 12-31-2013 03:05 AM

In adminCP this language is a bit confusing -->" Let if NO if you are using vbSEO "

Also, i have a forum called reviews and it is under .org/reviews/ I wonder if that will effect it. Currently since the install I have "Denied All" for the review forum - Will keep you posted. :)

I am using vBSEO with 4.2.1 (fyi)

RPSmedia 12-31-2013 03:14 AM

Quote:

Originally Posted by dizzynation (Post 2471471)
In adminCP this language is a bit confusing -->" Let if NO if you are using vbSEO "

Also, i have a forum called reviews and it is under .org/reviews/ I wonder if that will effect it. Currently since the install I have "Denied All" for the review forum - Will keep you posted. :)

I am using vBSEO with 4.2.1 (fyi)

do you have it working with vbseo? When I add the vbseo htaccess text into the file it kills the forum.

dizzynation 12-31-2013 03:25 AM

Ozzy, I am not 100% clear on what the Questions/Description is? Can you clearify please :) - Also, seems a bit harsh to not be able to delete them, so that is why I am asking before I fill in the fields for my test review.

Quote:

Originally Posted by RPSmedia (Post 2471475)
do you have it working with vbseo? When I add the vbseo htaccess text into the file it kills the forum.

Its working so far, I have not added a review yet but I will let you know once I do. Still trying to figure out how to create a review or how others can create reviews. Also, you need to add the ReWrite rules in your VBSEO control panel under "Custom Rewrite Rules"

ozzy47 12-31-2013 03:33 AM

Well the question / description would be what you are asking in the review, as in the screenshot.

https://vborg.vbsupport.ru/attachmen...5&d=1383963273

I did not code the mod, but I suppose it was dome that way so once the questions are generated, they can not be changed at a later time to manipulate the rating.

RPSmedia 12-31-2013 03:35 AM

ok let me try that.

also, I'm not able to add anymore rating questions

ozzy47 12-31-2013 03:47 AM

Yeah as it states in the first post:
*** ATTENTION *** Double check that rating questins are ok before starting adding reviews. After the first review you CAN'T Add/Edit/Delete questions.

When I do get time to look into the mode more, I will see if it is feasible to change that, among other things.

RPSmedia 12-31-2013 03:48 AM

dizzy, I added it to the custom vbseo rewrites and it didn't kill the forum = good stuff.

but, the review url is now seo friendly but when I click on it I get "page not found" and nothing fixes it.

Can you try adding a part and see if it works for you?

RPSmedia 12-31-2013 03:49 AM

Quote:

Originally Posted by ozzy47 (Post 2471479)
Yeah as it states in the first post:
*** ATTENTION *** Double check that rating questins are ok before starting adding reviews. After the first review you CAN'T Add/Edit/Delete questions.

When I do get time to look into the mode more, I will see if it is feasible to change that, among other things.

That. Sucks.

dizzynation 12-31-2013 03:50 AM

Quote:

You must 'Like' someone else's post before liking any more by ozzy47.
:(

thanks for that screenshot, really helped.

So I got everything set, but I cannot find where to start a new review

Quote:

Originally Posted by RPSmedia (Post 2471480)

Can you try adding a part and see if it works for you?

Im down to help, but I am not sure what you mean,

RPSmedia 12-31-2013 03:54 AM

You said " I have not added a review yet but I will let you know once I do" so I was asking if you could add some and see if it worked.

dizzynation 12-31-2013 03:55 AM

Quote:

Originally Posted by RPSmedia (Post 2471483)
You said " I have not added a review yet but I will let you know once I do" so I was asking if you could add some and see if it worked.

Ahhh, lol - Yes of course. Once I figure how to add a review :)

ozzy47 12-31-2013 03:56 AM

Quote:

Originally Posted by dizzynation (Post 2471482)
:(
So I got everything set, but I cannot find where to start a new review

Did you give yourself the proper permissions in usergroups?

RPSmedia 12-31-2013 03:59 AM

after you give yourself permission in usergroups, look under the navbar

dizzynation 12-31-2013 04:01 AM

Just noticed something: You might have an open <center> tag or <div> ?

Here is footer in Reviews.php
http://www.digipress.us/pics/centar2.png

Here is footer on all anything but reviews
http://www.digipress.us/pics/center.png

ozzy47 12-31-2013 04:04 AM

I have not run across that before, what mod are you using for the footer?

RPSmedia 12-31-2013 04:08 AM

Update on rating questions

I went into phpmyadmin and added questions and it works just fine.

ozzy47 12-31-2013 04:11 AM

Cheater, cheater pumpkin eater. :P

dizzynation 12-31-2013 04:15 AM

Notes:

#1 this is awesome!
#2 will have to change some phrases (easy)
#3 The rewrite rules do not seem to be work, but no broken links

http://www.digipress.us/pics/picpic.png

ozzy47 12-31-2013 04:17 AM

If you could find a way to get the rewrite rules to work, that would be great. I have no idea how to do it, and I have asked a few people, and got no help.

RPSmedia 12-31-2013 04:18 AM

Quote:

Originally Posted by ozzy47 (Post 2471491)
Cheater, cheater pumpkin eater. :P

It's not cheating if it fixes an issue :P (plus I bet it comes back up later)

Now if we could get Ozzy to put a few more tweaks into it this would be amazing

1. ability to upload more pictures
2. embed youtube in the description
3. place for an affiliate link
4. ability to see how many views each review has had

boom! :)

dizzynation 12-31-2013 04:19 AM

Quote:

Originally Posted by ozzy47 (Post 2471489)
I have not run across that before, what mod are you using for the footer?

No Mod, just html added to the footer. Strange that it is only happening with reviews.php - Hey, it could be something on my end, if no one is having an issue then thats cool. Just wanted to keep you updated.

ozzy47 12-31-2013 04:19 AM

I will look into those when I get some time to get deeper into the mod, and do a update.

ozzy47 12-31-2013 04:20 AM

Quote:

Originally Posted by dizzynation (Post 2471495)
No Mod, just html added to the footer. Strange that it is only happening with reviews.php - Hey, it could be something on my end, if no one is having an issue then thats cool. Just wanted to keep you updated.

Can you PM me the HTML you are using, and I will see if I can replicate it on my dev site?

Action-N 12-31-2013 05:11 AM

If you use the Firefox browser there is a plugin that you can get called "Html Validator 0.9.5" that I've been using to find issues with my code. Bet it could help track down yours as the plugin finds unclosed tags. I would have looked for you, but it was not visible. Anyway I'm sure there is some validator you can find to use easy.

ozzy47 12-31-2013 05:15 AM

I'll have to check that out, thanks for the heads up. :)

RPSmedia 12-31-2013 04:06 PM

I also keep having text spacing issues. After you submit the review, all of the spacing goes away.

ozzy47 12-31-2013 04:12 PM

Hmmm, I'll look into that as well, and see if I can reproduce it.

RPSmedia 12-31-2013 04:14 PM

I've gone in several times and separated the paragraphs each time and when I save it jumbles all together.

dizzynation 12-31-2013 07:47 PM

Ok, so I set my questions for Short films, then I created another category for feature films, which will require different questions, but I do not see an option to add a new question.

ozzy47 12-31-2013 09:17 PM

That is the how the original developer designed it. But what you can do is download the following PHP file, and uploaded it to your admincp directory overwriting the one that is there. That should allow you to do what you need.

Let me know it that works.

dizzynation 12-31-2013 09:29 PM

Thanks!

I have been working on the re-write rules, I have the first one done, and half way on the second.

'^reviews\.php$' => 'reviews.html'
'^reviews\.php\?do=main&catid=(.*)$' => 'reviews/category/[NF]$1'

Just need to get the title of the category in the url - Once I figure out the second, the rest will come easy

ozzy47 12-31-2013 09:31 PM

Great, hopefully you can get it to work properly. I sent you a PM on my site, if you would not mind checking it out.

RPSmedia 12-31-2013 09:39 PM

Quote:

Originally Posted by ozzy47 (Post 2471593)
Hmmm, I'll look into that as well, and see if I can reproduce it.

this is happening for both the reviews and classifieds and I'm starting to get lots of complaints. Hopefully it can be an easy fix.

ozzy47 12-31-2013 09:42 PM

Crud, I guess I got to look into it and see why it is like that. :(

RPSmedia 12-31-2013 10:10 PM

thanks Ozzy, I really appreciate it. Let me know how I can help

ozzy47 12-31-2013 10:31 PM

Ok I think I got it, open the file, reviews.php found in your forum root, and look for the following code:

Code:

                                $templater->register('comment_reviewtext', htmlspecialchars_uni($comment[reviewtext]));
And replace it with this code:

Code:

                                //$templater->register('comment_reviewtext', htmlspecialchars_uni($comment[reviewtext]));
                                $templater->register('comment_reviewtext', '<pre>'.$comment[reviewtext].'</pre>');

That should get it to work for the time being.

dizzynation 01-01-2014 12:39 AM

Quote:

Originally Posted by ozzy47 (Post 2471633)
That is the how the original developer designed it. But what you can do is download the following PHP file, and uploaded it to your admincp directory overwriting the one that is there. That should allow you to do what you need.

Let me know it that works.

Thats a fix that will make alot of people happy! Well done! It worked!!!!!

ozzy47 01-01-2014 12:45 AM

Cool, glad it worked as intended, and did not add the new questions to the old stuff you had already set up. :)

dizzynation 01-01-2014 01:43 AM

Hey Ozzy,

I am having a hard time finding out how to change the Game phrase. I have searched all templates, and also when viewing the source code it is very difficult to find out which templates are using what.

Anyway, phrases - Any help?

http://www.digipress.us/pics/game.png

Also, adding links to the "game" does not seem to link out correctly, this is the link it produced.

Code:

http://www.filmmakerforum.org/www.therecordingmovie.com

ozzy47 01-01-2014 01:58 AM

Ok lets go one by one.

1) About this Game, the About this part is the phrase, reviews_about_this and Game is the setting, Review item (Singular)

2) Publisher should be the phrase, reviews_publisher

3) Game Link, the Game part is the setting, Review item (Singular) and the link is the phrase, reviews_link


All times are GMT. The time now is 09:15 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.01399 seconds
  • Memory Usage 1,824KB
  • 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
  • (3)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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