vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Admin/Mod BBcodes (https://vborg.vbsupport.ru/showthread.php?t=105253)

Wild-Wing 02-08-2006 04:20 PM

did u turn on debug mode in the config.php file? that turns on developer mode. when i get home ill post the templates i used.
i used this for the admin template and the admin_printthread
make sure you name them bbcode_admin and bbcode_admin_printthread
Code:

<style>
.code{font-family: Courier, Courier New, Verdana, Arial;
        color: #465584;
        background-color: #FAFCFE;
        border: 1px dotted #000;
        padding: 2px;
        width:98%;
        margin: 0px auto 0px auto;
        /*overflow: auto;
        height: 200px;*/}
</style>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="smallfont"><strong>Administrator's Warning:</strong></span></td>
</tr>
<tr>
<td class="code"><img align="left" src="images/mod.gif">$code</td>
<tr>
</table>


Darat 02-09-2006 09:31 AM

Just tried with your templates and the same problem, switch the tags on and a blank page, switch them off and the page displays fine.

I've double checked the edits of the files you've listed and my edits are correct - could it be you've missed an edit instruction?

Wild-Wing 02-09-2006 02:30 PM

damn thats something i dont know whats wrong. i am not at home right now so i cant double check all my steps i might have forgoten something i dont know maybe i posted all the steps.

Smiry Kin's 02-09-2006 03:02 PM

Wow quiet simple really!

Darat 02-10-2006 03:43 PM

Quote:

Originally Posted by Wild-Wing
damn thats something i dont know whats wrong. i am not at home right now so i cant double check all my steps i might have forgoten something i dont know maybe i posted all the steps.

I reverted back to all orginal files and tried again and I get the same problem.

Lineman28645 02-10-2006 06:33 PM

Installed and working! Very nice!

OndaReal 02-10-2006 07:02 PM

worked like a dream, thanks =)

Darat 02-11-2006 09:51 AM

Damn! Why isn't it working for me? I've even disabled every other plugin and product just to be on the safe side! Frustrating to say the least!

Luggruff 02-11-2006 10:27 AM

uhm.. anyone can just go check these out and use them. In the BB code FAQ.
Solution please?? (pretty worthless if not)

without doing what some other members wrote above, I have no clue in that area of modding.

Delphiprogrammi 02-11-2006 10:59 AM

well,

nice addition BUT it has a serious security hole.*anybody* with a username can go to www.yourboard.com/forum/misc.php?do=bbcode this generates a list of bbcode tags your board uses.The "advanced bbcode permissions hack" only handles permissions for bbcode build into vbulletin not custom bbcode tags so without some way to restrict this it is pretty useless

also ......

DO NOT TURN ON DEBUG MODE ON LIVE SITES

danger Will Robinson danger .....


All times are GMT. The time now is 09:46 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.01173 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (1)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
  • (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