vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Compress Forum Templates (https://vborg.vbsupport.ru/showthread.php?t=107615)

Mastar 02-10-2006 03:43 PM

I got this error after I pressed 'Compress Templates' :

PHP Code:

Parse errorparse errorunexpected ')'expecting '(' in /home/thebedrock/domains/thebedrocktavern.com/public_html/includes/adminfunctions_template.php(2262) : regexp code on line 1

Fatal error
preg_replace(): Failed evaluating code_tag_callback('what=\\\"empire\\\" 'view_ad, Array) in /home/thebedrock/domains/thebedrocktavern.com/public_html/includes/adminfunctions_template.php on line 2262 

Any Ideas?

The Chief 02-10-2006 05:05 PM

Quote:

Originally Posted by Mastar
I got this error after I pressed 'Compress Templates' :

PHP Code:

Parse errorparse errorunexpected ')'expecting '(' in /home/thebedrock/domains/thebedrocktavern.com/public_html/includes/adminfunctions_template.php(2262) : regexp code on line 1

Fatal error
preg_replace(): Failed evaluating code_tag_callback('what=\\\"empire\\\" 'view_ad, Array) in /home/thebedrock/domains/thebedrocktavern.com/public_html/includes/adminfunctions_template.php on line 2262 

Any Ideas?

So I got tons of javascript all over my boards, if I install this you are sure that there won't be any errors?

Karri 02-10-2006 05:37 PM

I am having a problem with a few templates. Some templates are used as text for emails sent by the board and the board sends them in plain text. When they are compressed, all of the white space used to separate parts of the emails is removed so the email comes in as a jumbled mess. It would be helpful to be able to flag certain templates as not to be compressed to avoid that.

Trigunflame 02-10-2006 07:32 PM

OK guys, Im back sorry had to sleep. I messaged hellcat and he agreed to be co-author of this hack by donating some of him regexp to the project.

I will implement his code and then re-release the hack; that should hopefully fix all of you guys problems.

Trigunflame 02-10-2006 08:05 PM

Large Update

1. Integrated Hellcats Regex, hopefully this will solve a few of the script problems that have been happening recently.

eNforce 02-10-2006 08:22 PM

Quote:

Originally Posted by Trigunflame
Large Update

1. Integrated Hellcats Regex, hopefully this will solve a few of the script problems that have been happening recently.

Including the shoutbox?

Just redone the file edit and re-imported the product and the problem is still the same as before.

Trigunflame 02-10-2006 08:30 PM

Quote:

Originally Posted by eNforce
Including the shoutbox?

Just redone the file edit and re-imported the product and the problem is still the same as before.

Try to uncompress all templates, then recompress; if it still doesnt work.

Look inside the shoutboxes product file and make not of every use of every custom template that it installs, and add it to the bad templates array; then recompress again.. and if that still causes problems..

I will install that hack myself and try to figure out; cause im confused as to what could be causing the errors..

eNforce 02-10-2006 08:43 PM

Ahh, tried that just now and can't seem to fix it. I'll just keep shoutbox at the top and wait for you to figure it out :)

I'm not disabling this hack because of the shoutbox, it's an excellent addition.

Zia 02-11-2006 02:04 AM

Quote:

Originally Posted by Trigunflame
Large Update

1. Integrated Hellcats Regex, hopefully this will solve a few of the script problems that have been happening recently.


Rock N RoLL

lets have a try.....

hehe its a peace for Eyes n heart to see the saving % of b/w :D


WeLL Wished to u Mr.Coder

MissKalunji 02-11-2006 06:06 AM

how is this going?


All times are GMT. The time now is 01:45 AM.

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.01317 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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