vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Warnings System Hack v2.1 (https://vborg.vbsupport.ru/showthread.php?t=43265)

partang2 11-13-2002 11:28 AM

I will NOT give this hack up! I have no database errors, all is working but the link I use to warn members do not show up in the pages. This has to be a issue that can be fixed...!? Well, I have to wait and see if there is someone that is able to help me.

One more time: This is a very usefull hack! :cool:

Miztah 11-16-2002 02:21 PM

I would appreciate an answer to my question: How would I get the amount of warning points a user has shown in the welcome panel? Thanks in advance.

Barret 11-17-2002 12:11 AM

Miztah, you mean you can actually click warn and it will warn a user?
I get the popup window to warn them but when I click a setting and click go it goes to a blank screen.
All else works great though.
Better yet, what version are you using?
When I get time, I`ll fix this as I think its a great hack but support has gone to the wasteside as it looks now as it was too flawed to begin with to be called a released version!
Its still beta and most likely will be for some time.

maverick1236 11-18-2002 01:23 AM

I would LOVE it if JUST mods and admins could SEE the warning levels etc.

:):):)

cerebro 11-19-2002 02:30 AM

Thanks i install..pls make a new file whit only the files to use.
and the install file dont put .php extention.

Mike11212 11-19-2002 07:19 AM

Is this hack suppose to add
warn_getinfo_warning and warn_userinfo templates to your templates list?
if it is. It did not.
If it is can someone save those templates into a text file so I can install them manually

MarkB 11-19-2002 12:56 PM

I want to have it so moderators can only see the 'give warning' links and info if they're moderators of the forum the post is in. (I don't put my moderators into their own usergroup, since this doesn't fit in with my forum).

Any ideas??

g-force2k2 11-19-2002 04:07 PM

I don't see whats beta about it... obviously there are some flaws that need to be addressed (updating my instructions for one) but i tested the hack multiple times...

partang2... as for the viewing links problem did you make sure that you configured the admin cp options currectly with the correct usergroupids? seperated with commas...

mtizah... just add the this to your welcome panel template...

PHP Code:

<b>Warning Points: </b>$bbuserinfo[warninglvl

maverick1236... in the admincp there's an option to set the usergroups accordingly based upon usergroupids...

Mike11212... when installing using the script it didn't insert them into the default template set?

MarkB... i'll look into that for you soon...

again just been busy.... regards...

g-force2k2

mheinemann 11-19-2002 04:48 PM

g-force2k2 can you please look at this post (http://205.214.66.221/forum/showthre...210#post320210)? For some reason the PM's aren't working at all for me on this hack, do you have any insight as to what I might have missed?

partang2 11-19-2002 05:20 PM

Quote:

Originally posted by g-force2k2
partang2... as for the viewing links problem did you make sure that you configured the admin cp options currectly with the correct usergroupids? seperated with commas...
Yes, all is ok here, but the link will not show up!
Have tried all suggestions I have got, but nothing works....

g-force2k2 11-19-2002 06:47 PM

mheinemann open up the warn.php

find:

PHP Code:

              (NULL'$userid''$userid''$bbuserinfo[userid]''$pmsubject''$pmmsg''".time()."''0''0''0''0''1')"); 

and replace with this:

PHP Code:

              (NULL'$userid''$userid''$bbuserinfo[userid]''$pmsubject''".addslashes($pmmsg)."''".time()."''0''0''0''0''1')"); 

see if that fixes your current dilemma... regards...

partang2 pm me your functions.php file... regards...

g-force2k2

Mike11212 11-19-2002 06:57 PM

Quote:

Originally posted by g-force2k2
I don't see whats beta about it... obviously there are some flaws that need to be addressed (updating my instructions for one) but i tested the hack multiple times...

partang2... as for the viewing links problem did you make sure that you configured the admin cp options currectly with the correct usergroupids? seperated with commas...

mtizah... just add the this to your welcome panel template...

PHP Code:

<b>Warning Points: </b>$bbuserinfo[warninglvl

maverick1236... in the admincp there's an option to set the usergroups accordingly based upon usergroupids...

Mike11212... when installing using the script it didn't insert them into the default template set?

MarkB... i'll look into that for you soon...

again just been busy.... regards...

g-force2k2

It did
but it wasn't working i assumed it didnt. but when I looked in my templates they were there
so i checned the templates and the aim javascript was buggy so it caused a problem with the warn hack links

partang2 11-19-2002 08:12 PM

Quote:

Originally posted by g-force2k2

partang2 pm me your functions.php file... regards...

g-force2k2

Pm with file sendt... Thanx for looking into it! :)

mheinemann 11-20-2002 12:45 AM

Quote:

Originally posted by g-force2k2
mheinemann open up the warn.php

find:

PHP Code:

              (NULL'$userid''$userid''$bbuserinfo[userid]''$pmsubject''$pmmsg''".time()."''0''0''0''0''1')"); 

and replace with this:

PHP Code:

              (NULL'$userid''$userid''$bbuserinfo[userid]''$pmsubject''".addslashes($pmmsg)."''".time()."''0''0''0''0''1')"); 

see if that fixes your current dilemma... regards...

partang2 pm me your functions.php file... regards...

g-force2k2

Thanks alot!! I had to put an addslashes to $pmsubject too, but that fixed it. Everything works now!

g-force2k2 11-20-2002 03:55 PM

Quote:

Originally posted by mheinemann


Thanks alot!! I had to put an addslashes to $pmsubject too, but that fixed it. Everything works now!

glad to hear mheinemann ;) didn't take into account the slashes but i guess i should have...

btw partang2 let me know how things work out :)

regards...

g-force2k2

partang2 11-20-2002 07:43 PM

Have done what you told me to, but still no link in postbit.....
What else is there to do?

xxskullxx 11-21-2002 05:07 AM

Works great for me. I thought it was a pretty easy install, just read this thread first. :)

partang2 11-21-2002 02:59 PM

YEAH! I got it to work by myself...! :)
Guess what I did...? I just took the showthread.php from 2.2.9 and uploaded it. All works great now. *Clicks install*

AzzKickr 11-21-2002 05:23 PM

please help me, i want this:
if people have warnings somthing like "Warning point:1" show in postbit, but if he don't have it nothing shown... how to make this? :glasses:

g-force2k2 11-21-2002 10:49 PM

Azzkickr could you be more specific? do you mean if there's no warning points just to show nothing?

btw partang2 glad to hear :) good job on debbugging...

xxskullxx... thanks ;)

g-force2k2

AzzKickr 11-21-2002 11:06 PM

Quote:

Originally posted by g-force2k2
Azzkickr could you be more specific? do you mean if there's no warning points just to show nothing?

g-force2k2 [/B]
yeah, thats what i want :)
and is it real to take away warnings from user (is user have warning level 2 take away it in 2 weeks if 1 take away after week...)
look, i made a screen in photoshop, thats what i wnat :)

partang2 11-22-2002 06:25 AM

Quote:

Originally posted by g-force2k2
btw partang2 glad to hear :) good job on debbugging...
g-force2k2

Well m8, it was you that did most of the job... Thanx again! :)

M.C. 11-25-2002 06:15 PM

sorry! In last archiv i can`t find warn_config.php file... is it in or not?

mheinemann 11-25-2002 06:26 PM

Quote:

Originally posted by M.C.
sorry! In last archiv i can`t find warn_config.php file... is it in or not?
You don't need it, just follow the rest of the instructions.

M.C. 11-25-2002 06:58 PM

ok... let`s go next... i did everything like in instuctions... i add $post[warnlink] in postbit, but it not working (i see noting in that place)... :(

P.S. i just test it on local...

N9ne 11-25-2002 07:09 PM

I find it odd how so many people have trouble with getting the warnlink to show in postbit...It worked fine for me without modification :confused:

M.C. 11-25-2002 07:57 PM

hm.... it should work but not... :mad: couse i did everything right!

SpeedStreet 11-27-2002 02:07 PM

Is there a way to sort the dropdown field?

Graphics 11-30-2002 11:39 AM

Looks good. But I started the installer and I get this error:

<smallfont>Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40)
mysql error: Duplicate entry '40' for key 1

mysql error number: 1062
</smallfont>

drews 12-01-2002 02:01 PM

Graphics, do you have FireFly's vbpad hack installed? If so you need to replace all instances of 40 in the qeries to run with 41. That SHOULD work. No guarantees.

Hope that helps.

N9ne 12-01-2002 02:36 PM

Quote:

Originally posted by drews
Graphics, do you have FireFly's vbpad hack installed? If so you need to replace all instances of 40 in the qeries to run with 41. That SHOULD work. No guarantees.

Hope that helps.

To be on the safe side, just set it to about 55 or something so there will be no problems at all, all I did was change the number, and it works that way....so yeah, you're right in short lol

drews 12-01-2002 03:56 PM

Well I changed it to 41 and that worked. when I tried to install this a while back, for some reason though, it wasn't workign before that, but who cares, It works now!

Davey 12-05-2002 06:55 PM

Huh?
Where exactly is the download link for the original installation...?
It seems to link me here no matter what.
Help, anyone?

Dave.

AzzKickr 12-05-2002 07:42 PM

g-force2k2 ---->>>> where you?

N9ne 12-05-2002 08:13 PM

g-force2k2 is currently very busy with real-life troubles, etc.

Davey 12-05-2002 09:26 PM

So, can anyone give me the url to the download, please?
Dave
PS: What's wrong with g-force?
Nothing bad I hope, I know him from FFInsider, he's cool.

Barret 12-06-2002 02:38 AM

yep g-force is a great asset to vbb and really works hard to make things work. This hack is a huge deal and great idea and thus, complications can be expected at some point.

-Sidekick- 12-06-2002 05:46 AM

Anyone have any problems with this hack since upgrading to 2.2.9 final? All of a sudden I can't get anything that has to do with warn.php to show. I've had no problems untill the upgrade. Anyone help me out?

Bison 12-06-2002 04:51 PM

Same here ... when I click on the warning links in the postbit, I get a script error ... nothing happens.

Would anyone "kindly" advise me on this? It appears that a script isn't working ... and could you tell me where does it go?

C'mon fellas!!! :lick:

Bison 12-09-2002 02:29 AM

Never mind ... I figured it out! :p


All times are GMT. The time now is 10:50 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.01902 seconds
  • Memory Usage 1,837KB
  • 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
  • (6)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
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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