vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

nubian 01-06-2005 10:47 PM

MySQL 4.0.22

sv1cec 01-06-2005 10:55 PM

Quote:

Originally Posted by nubian
MySQL 4.0.22

Are you sure you have to add that underscore after vb3 and before the table name? I am not using a prefix, so I have no idea. Someone answered a similar question a few posts back, have a look. The rest of the query looks OK, except from the fact that in the SQL error you are getting the word "default" and the zero after it, are stuck together, there should be a space there between them. Try that too,

Sorry, have to go to bed, I have to take the twins to school tomorrow morning and it's the first day after the holidays, so I need to get up really early to face all the ... tornados they'll have for me.

Rgds

Rhoads 01-06-2005 11:14 PM

Quote:

Originally Posted by sv1cec
That's strange. Warn.php takes you to "ViewMyWarnings" if it doesn't find any other "do" directive. OK, let's try this:

HTML Code:

http://www.mysite.nl/forum/admincp/../Warn.php?do=WarnUserNoPost&return=user&id=61
Let me know where that takes you.

Rgds

Oke, this link bring me to the good adress, there is a progress :up:

HTML Code:

http://www.mysite.nl/forum/Warn.php?do=WarnUserNoPost&id=61

nubian 01-06-2005 11:19 PM

where you quoted this when upgrading from 3.0.5 to 3.0.6:

Quote:

On a different issue, I noticed that the Warning Points and the Bans that a user has, appeared in postbit,
if the "Who can view Warning Points & Bans" option, was set to all, even if the person viewing was not a register user.
To correct that, open your postbit (or postbit_legacy) template and find:

<if condition="$viewoption=='All'">

Replace that with:

<if condition="$viewoption=='All' and $bbuserinfo[userid]>0">
i don't have that line of code in ostbit or postbit legacy
mind you your hack is the only hack that has altered my postbit and postbit legacy.

sv1cec 01-06-2005 11:19 PM

Quote:

Originally Posted by drl2005
Oke, this link bring me to the good adress, there is a progress :up:

HTML Code:

http://www.mysite.nl/forum/Warn.php?do=WarnUserNoPost&id=61

Well, yeah, that should bring you to the right address, and you can change the file to use that link, but that doesn't solve the problem of why it doesn't work for you. Unless your admincp directory is somewhere I can't imagine!

Change the file and you are done.

sv1cec 01-06-2005 11:29 PM

Quote:

Originally Posted by nubian
where you quoted this when upgrading from 3.0.5 to 3.0.6:



i don't have that line of code in ostbit or postbit legacy
mind you your hack is the only hack that has altered my postbit and postbit legacy.

Yes, this is part of my hack code. You just have to change it and add that $bbuserinfo>0

Goodnight!!!

nubian 01-06-2005 11:31 PM

Quote:

Originally Posted by sv1cec
Yes, this is part of my hack code. You just have to change it and add that $bbuserinfo>0

Goodnight!!!

i meant that i don't have this line of code:
<if condition="$viewoption=='All'">

Rhoads 01-06-2005 11:57 PM

Quote:

Originally Posted by sv1cec
Well, yeah, that should bring you to the right address, and you can change the file to use that link, but that doesn't solve the problem of why it doesn't work for you. Unless your admincp directory is somewhere I can't imagine!

Change the file and you are done.

Oke nice sv1cec

But what and in which file must I editting so that the fix is there.
Sorry, but with the little update's of you, I am ff the way lost.

Then the 3.0.5 to 3.0.6 update :

You say :

Edit your postbit template and find:
PHP Code:

<td valign="top" nowrap="nowrap">
                
                <
div class="smallfont">
<
div>User ID$post[userid]</div>
                    <if 
condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 

But in my template there is no
PHP Code:

<div>User ID$post[userid]</div

This state there at me
PHP Code:

<td valign="top" nowrap="nowrap">
                
                <
div class="smallfont">
                    <if 
condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 


sv1cec 01-07-2005 04:49 AM

Quote:

Originally Posted by drl2005
Oke nice sv1cec

But what and in which file must I editting so that the fix is there.
Sorry, but with the little update's of you, I am ff the way lost.

Then the 3.0.5 to 3.0.6 update :

You say :

Edit your postbit template and find:
PHP Code:

<td valign="top" nowrap="nowrap">
                
                <
div class="smallfont">
<
div>User ID$post[userid]</div>
                    <if 
condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 

But in my template there is no
PHP Code:

<div>User ID$post[userid]</div

This state there at me
PHP Code:

<td valign="top" nowrap="nowrap">
                
                <
div class="smallfont">
                    <if 
condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 


Drl2005, edit file admincp/user.php and search for :

PHP Code:

"../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$userid

Replace that with the statement that worked for you.

As for the last replace instructions, yes, enter my code above the one you mention. If I remember correctly, the User ID was something I added for my convenience in my forum.

Sorry!

sv1cec 01-07-2005 04:59 AM

Quote:

Originally Posted by nubian
i meant that i don't have this line of code:
<if condition="$viewoption=='All'">

Nubian,

That part of the code exists since the first release (or to be more accurate since version 1.3). If you do not have it, then you haven't installed the hack properly.

Shall we take it from scratch? What version do you have installed? Which version do you try to install now? Are you installing for the first time?

Nubian, sorry but I can't remember everything, especially today, I went to bed a 03:30 am yesterday night and it's 08:00 right now, so please do not expect too much from me.

Rgds


All times are GMT. The time now is 08:17 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.01950 seconds
  • Memory Usage 1,777KB
  • 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_html_printable
  • (7)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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