vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   [Release] Cool Quotes v2.0 (https://vborg.vbsupport.ru/showthread.php?t=88283)

Toky0 09-27-2003 09:13 PM

When I try to run the query through the ACP via Import & Maintenance > Execute SQL Query. It says "You are not authorized to execute SQL queries"... Can someone help me out?

Schorsch 09-27-2003 09:45 PM

Quote:

Originally Posted by Toky0
When I try to run the query through the ACP via Import & Maintenance > Execute SQL Query. It says "You are not authorized to execute SQL queries"... Can someone help me out?

you can change that in your config.php :

PHP Code:

 [size=2]
// ****** USERS WITH QUERY RUNNING PERMISSIONS ******

// The users specified here will be allowed to run queries from the control panel.

// See the above entries for more information on the format.

// Please note that the ability to run queries is quite powerful. You may wish

// to remove all user IDs from this list for security reasons.

$canrunqueries '';

[/
size


Toky0 09-27-2003 09:48 PM

Quote:

you can change that in your config.php :

PHP Code:

 [size=2]
// ****** USERS WITH QUERY RUNNING PERMISSIONS ******

// The users specified here will be allowed to run queries from the control panel.

// See the above entries for more information on the format.

// Please note that the ability to run queries is quite powerful. You may wish

// to remove all user IDs from this list for security reasons.

$canrunqueries ''ALTER TABLE bbcode CHANGE bbcodereplacement bbcodereplacement TEXT NOT NULL;";

[/size] 


So I put the query like this. ^ ?

Schorsch 09-27-2003 10:05 PM

no!!

put in your user id

eg.

$canrunqueries = '1'

save your config.php, upload to the server.

then you can run querys from your admincp

Toky0 09-27-2003 10:06 PM

lol Sorry. Ive been drinking so I misread what you wrote. Thanks for the help. :)

Toky0 09-27-2003 10:18 PM

<a href="http://www.battle-grounds.net/test3/showpost.php?p=4&postcount=4" target="_blank">http://www.battle-grounds.net/test3/...=4&postcount=4</a>

This is what I get even after running the query. =/

Ryan McBain 09-28-2003 01:20 PM

Something tells me version 3.0 needs to be made lol

Frank 09-28-2003 09:38 PM

Quote:

Originally Posted by Ryan McBain
Something tells me version 3.0 needs to be made lol

Version 3.0 (for vB 3.0.0 beta7)
Insert into the "bbcode_quote" template in the Style Manager:

Code:

<table style="background-color:#EEEEEE; color:black; border:1px solid #BBBBBB" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top" bgcolor="#BBBBBB">
<div style="font-size:50px; font-weight:bold; font-family:Times New Roman, Times, serif; position:relative; top:-10px">?</div>
</td>
<td rowspan="2"><font style="font-size: 10px;">

<if condition="$username != ''">
Originally Posted By: <i><b>$username</b></i><br
<br></if>

$message</font></td>
<td rowspan="2" valign="bottom" bgcolor="#BBBBBB">
<div style="font-size:50px; font-weight:bold; font-family:Times New Roman, Times, serif; position:relative; top:25px">?</div>
</td>
</tr>
<tr>
<td height="25" valign="top" bgcolor="#BBBBBB"></td>
</tr>
</table>
<br>


Ryan McBain 09-28-2003 11:16 PM

Quote:

Originally Posted by Frank
Version 3.0 (for vB 3.0.0 beta7)
Insert into the "bbcode_quote" template in the Style Manager:

Code:

<table style="background-color:#EEEEEE; color:black; border:1px solid #BBBBBB" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top" bgcolor="#BBBBBB">
<div style="font-size:50px; font-weight:bold; font-family:Times New Roman, Times, serif; position:relative; top:-10px">?</div>
</td>
<td rowspan="2"><font style="font-size: 10px;">
 
<if condition="$username != ''">
Originally Posted By: <i><b>$username</b></i><br
<br></if>
 
$message</font></td>
<td rowspan="2" valign="bottom" bgcolor="#BBBBBB">
<div style="font-size:50px; font-weight:bold; font-family:Times New Roman, Times, serif; position:relative; top:25px">?</div>
</td>
</tr>
<tr>
<td height="25" valign="top" bgcolor="#BBBBBB"></td>
</tr>
</table>
<br>


Thanks it looks better but how do I get it to look like version 2? This code is totally different...

Frank 09-29-2003 12:40 AM

Quote:

Originally Posted by Ryan McBain
Thanks it looks better but how do I get it to look like version 2? This code is totally different...

Dunno mate, I'm using this quote instead. Sorry, I've just registered tonight and not tried this one on v3.


All times are GMT. The time now is 03:36 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.01617 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (5)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