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)

j_86 10-14-2004 04:38 PM

Hi Sv1 - could you reiterate for me the "warning maturity"? Is this the number of days before the warning points for the warn is removed from the user's count?

sv1cec 10-14-2004 06:28 PM

Quote:

Originally Posted by xtreme-mobile
yeh thats it mate i just want it to show up under there post count etca evertime they post

do i just need to edit the postbit files in the template?

could you or anyone else post up the code etc to change or edit etc?

many thanks

Dean

Dean,

The code is there a few posts ago. Go to this post and download the file called temlates.txt. The changes are in there, but I cannot guarantee that they will work with the original hack's code. You might need to use my files, located in this post. Try it and see if it works.

Rgds

sv1cec 10-14-2004 06:39 PM

Quote:

Originally Posted by JimpsEd
Hi Sv1 - could you reiterate for me the "warning maturity"? Is this the number of days before the warning points for the warn is removed from the user's count?

YEs, the warning maturity is how many days the points from a particular warning will remain in a member's account. After those days pass, these points will be removed from the member's account, by the cron script kill_warns.php.

Remember, there are two versions there, the first, where the warnings which mature are removed completely, and the second, where the warnings which mature are just marked "Inactive" but remain in the member's history.

Rgds
----------
John

xtreme-mobile 10-14-2004 06:47 PM

ive downloaded the file but what do i do with them? its just a load of text and no instructions :(

im a bit of a newbie so dont know what to edit etc any ideas

j_86 10-14-2004 06:56 PM

Yes - read them sloweley ;)

j_86 10-14-2004 10:38 PM

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

wcbryant 10-15-2004 01:13 AM

It would be nice if there were a way to set scaling bans. Meaning the first time the system bans a user, it's X days. The second time, Y days. The third time, permanent (or Z days). Sort of a couple warning shots across their bow before permanent removal.

Also, wouldn't hate to see the option for warnings to also come with reputation hits.

Just thinking out loud here, don't know how feasible something like that is.

xtreme-mobile 10-15-2004 05:41 PM

ive downloaded the templates file that you told me to downlaod and im following it all the way down

only problem is ive got as far as editing the POSTBIT templates and in postbit it asks you to find some text and replace it.

ive managed to find the first set of text and replaced that but i cant find the second half it says not found :(

im looking for:

Also in postbit, find the code below:

<if condition="$show['reputation']">$post[reputationdisplay]</if>


but this says not found

any ideas what i can do?

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

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

sv1cec 10-15-2004 06:24 PM

Quote:

Originally Posted by xtreme-mobile
ive downloaded the templates file that you told me to downlaod and im following it all the way down

only problem is ive got as far as editing the POSTBIT templates and in postbit it asks you to find some text and replace it.

ive managed to find the first set of text and replaced that but i cant find the second half it says not found :(

im looking for:

Also in postbit, find the code below:

<if condition="$show['reputation']">$post[reputationdisplay]</if>


but this says not found

any ideas what i can do?

This is what I can see in my postbit template:

PHP Code:

$vbphrase[posts]: $post[posts]

                        <if 
condition="$show['reputation']">$post[reputationdisplay]</if> 

Right below that, add:

PHP Code:

<if condition="$post[usergroupid]==2">
<if 
condition="$post[warning_level]>0">
<
font color="#ff0000">
</if>
<
BR>Warnings Level$post[warning_level]
<
font color="#000000">
</if> 

I hope you can find it, I just checked it.

Rgds


All times are GMT. The time now is 12:44 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.01511 seconds
  • Memory Usage 1,751KB
  • 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