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 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 05:04 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.01209 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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