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)
-   -   Warning Hack V1.5 (https://vborg.vbsupport.ru/showthread.php?t=65336)

xtreme-mobile 10-15-2004 06:24 PM

the text i could not find was this

15. Template postbit

In postbit, find the following code:

if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a> &nbsp;

sv1cec 10-15-2004 06:25 PM

Quote:

Originally Posted by JimpsEd
A suggestion sv1; to be able to clear warning history for a user/all users via the admin panel.

That's a good idea, I might get on with it, if I manage to solve my ADSL installation issues.

Rgds and tnx for the input.

xtreme-mobile 10-15-2004 06:43 PM

hi mate thanks for the code you posted but it says not found :(

ive done everything except found this code in postbit

15. Template postbit

In postbit, find the following code:

if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a> &nbsp

what do you have in yours? could i just copy and paste my postbit from my other template? or wouldnt that work?

dean

sv1cec 10-16-2004 06:50 AM

Quote:

Originally Posted by xtreme-mobile
hello SV1CEC

ive done above please disregard last post

BUT i do have one final question to complete this :)_

ive got 2 skins on my forum

lihghtning and pixel tech

ive managed to follow the instructions and have managed to get the Warning points to show ok in the lightning tempalte but the pixel tech template its showing fine but its a little high and is overlapping the username

please see here: http://www.extreme-mobile.com/forums...read.php?p=854

ive followed the text but i couldnt find the follwing etxt so theerfore could not change it :( maybe this is what is causing the problem? but how can i add it if i cant find it?

cheers mate and i promise this will be the last time i bother you lol

dean

I can't help dean, I do not have that skin so I just can't check it out. Go through the code, and see where you need to add a <br> or something.

Rgds

Takamine334 10-17-2004 12:48 AM

I don't see TABLE_PREFIX in mysql. Is that weird? I installed 1.0 but can't install 1.5

tHe Rk 10-17-2004 06:51 PM

This hack took some hacking and rehacking to get what I wanted, but in the end is quite nice:)

Rick Sample 10-18-2004 12:04 AM

Justing installed 1.0 and trying to upgrade but I have no clue to what this means in the instructions can someone lend me a hand :)

PHP Code:

Run this query: (change TABLE_PREFIX to your settingsthis is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)

alter table TABLE_PREFIXwarning_options
add 
`banned_usergroup_idint(15not null default '0',
add `protected_usergroupsvarchar(255not null default ''

Especialy where it says change talbe_prefix to your settings, this is defined within....

Also, how do I add a query?

Takamine334 10-18-2004 02:07 AM

Quote:

Originally Posted by muscle-mustangs
Justing installed 1.0 and trying to upgrade but I have no clue to what this means in the instructions can someone lend me a hand :)

PHP Code:

Run this query: (change TABLE_PREFIX to your settingsthis is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)

alter table TABLE_PREFIXwarning_options
add 
`banned_usergroup_idint(15not null default '0',
add `protected_usergroupsvarchar(255not null default ''

Especialy where it says change talbe_prefix to your settings, this is defined within....

Also, how do I add a query?

Looks like you and I will never get our questions answered. I have the same problem. The owner of the hack should really browse this thread more often.

Remi 10-18-2004 02:43 AM

Hi

Can some one kindly tell me how to disable sending the PM when warning a member.

All what I need realy is changing the usergroup ID.

Thanks

sv1cec 10-18-2004 05:59 AM

TABLE_PREFIX is a variable you define when you installed the vB software. It can be found in includes/config.php

As for running a query, go into your AdminCP and scroll the left column all the way to the end. You should see something like "Execute SQL Query". Click on it and a window will open in the right side, where you type the query the author suggests.

Rgds


All times are GMT. The time now is 10:55 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.01626 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)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