vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - "Smith" Warning System (https://vborg.vbsupport.ru/showthread.php?t=132131)

akanevsky 11-22-2006 05:04 PM

Quote:

Originally Posted by Junkie (Post 1123099)
When I go to forward the private message, this is what shows up in the forwarding box. Notice all of the <hr> tags.



You have been warned by FBJunkie for the following post:
http://www.fantasyfootballgridiron.c...wpost.php?p=18

You have been given 2 warning points, which makes your warning level to be 2.
Be advised that warning threshold is 20.

Warning duration has been set to 30 days, with reputation effect of 20.

To avoid receiving future warnings, please make sure you get familiar with and obey the community rules.

FBJunkie has given the following reason for the warning:
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><h r><hr><hr><hr><hr><hr><hr><hr><hr>
Please do not talk about something different other than the posted topic. Thank you.
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><h r><hr><hr><hr><hr><hr><hr><hr><hr>

This is an automatically generated message and no reply is required.
However, if you think that you do not deserve this warning, feel free to initiate a dispute by replying.

Alternatively, if you have 100 or more reputation points, you may buy revokation of the warning for these points.
To do so, visit your warning history by clicking on the link in your profile, and then click "Revoke Warning".

No <hr> tags have even been coded into the system. There must be something wrong with your vBulletin installation.

NFLfbJunkie 11-22-2006 05:27 PM

Anthony, I just did a clean install of vB, latest version, installed your MOD, and still getting the lines. Also, when a warning is issued and the PM sent, two messages show as being in the users inbox, but there is just the one message. After reading the message, it shows that there is still one unread message in the inbox.

akanevsky 11-22-2006 06:08 PM

Quote:

Originally Posted by Junkie (Post 1123124)
Anthony, I just did a clean install of vB, latest version, installed your MOD, and still getting the lines. Also, when a warning is issued and the PM sent, two messages show as being in the users inbox, but there is just the one message. After reading the message, it shows that there is still one unread message in the inbox.

The fact remains that no <hr>'s have ever been coded into the package. Furthermore, I don't think I have ever used <hr> tag in any of my modifications. Make a search through the files contained in the ZIP and you'll find that it's true. If a fresh installation of vBulletin gives you that problem, then either the installation is not fresh or the server at which you are installing vBulletin is malfunctioning.

NFLfbJunkie 11-22-2006 09:16 PM

Any idea why when issuing a warning and the subsequent email why two messages show as being in the users inbox, but there is just the one message; and then after reading the message, it shows that there is still one unread message in the inbox.

akanevsky 11-22-2006 09:58 PM

Quote:

Originally Posted by Junkie (Post 1123254)
Any idea why when issuing a warning and the subsequent email why two messages show as being in the users inbox, but there is just the one message; and then after reading the message, it shows that there is still one unread message in the inbox.

That may be from a previous bad installation. Do a query:
[SQL]UPDATE user SET pmunread = pmunread - 1 WHERE userid = YOURUSERID[/SQL]
Of course, replace YOURUSERID with the actual userid.

NFLfbJunkie 11-22-2006 10:22 PM

Would I have to do this with every user ID? Mine, and each of the test users that I have set up? And then all other user ID's thereafter?

By the way Anthony, I fixed the lines problem. Don't ask me how; I did something that did fix it. Have you been able to fix the other problem?

NFLfbJunkie 11-22-2006 10:32 PM

Ran the query with my user id "1" and got the following:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist

akanevsky 11-22-2006 11:10 PM

Quote:

Originally Posted by Junkie (Post 1123291)
Would I have to do this with every user ID? Mine, and each of the test users that I have set up? And then all other user ID's thereafter?

By the way Anthony, I fixed the lines problem. Don't ask me how; I did something that did fix it. Have you been able to fix the other problem?

I know what the fix is, but I won't be able to implement it if I have to keep answering your nonsense posts.

Quote:

Ran the query with my user id "1" and got the following:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist
Just like with any other query, you have to prefix the table with the TABLE_PREFIX which you have defined in config.php.

NFLfbJunkie 11-23-2006 12:00 AM

I am sorry if my intelligence level is well below yours. But thanks for the additional help and hopefully this is the last time I need to ask you for any help.

GoTTi 11-23-2006 12:33 AM

Quote:

Originally Posted by Mattimus1984 (Post 1122487)
Great we dont have to pay now that rocks

give him a week.

akanevsky 11-23-2006 12:40 AM

Quote:

Originally Posted by Junkie (Post 1123344)
I am sorry if my intelligence level is well below yours. But thanks for the additional help and hopefully this is the last time I need to ask you for any help.

I apologize if the post sounded offensive, but honestly - does it require a great level of intelligence to figure out that a coder in his right mind (and I consider myself one) would most likely not post a hack with a bug as obvious as fourty eight or something <hr>'s that don't make any sense. Would he?

Quote:

Originally Posted by GoTTi (Post 1123350)
give him a week.

I am not sure what exactly are you implying here, but if you mean that this hack will soon become commercial, then I'll point out specifically for you the following quote from the FAQ in the second post:

Quote:

Q: Why did this become a free product?
A: Seeing how there are plenty of alternative solutions that seem to satisfy users despite the fact they are full of bugs as well as the fact that vBulletin 3.6.0 has a warning system of its own, we decided that there is no point in having this hack as a commercial product anymore
Which means that this hack has been commercial and now it is no more.
Now, thank you for being so nice to post in my thread, GoTTi, and have a nice day. :)

NFLfbJunkie 11-23-2006 01:13 AM

Anthony, I still think this MOD is an awesome hack and would pay a nominal fee should you decide to start charging for it. I was only pointing out something that may have been a bug, and fortunately for this hack, and after I figured something out, was not one. It's the 'master coders' that make this, and all other hacks, possible for us 'members' to download and learn from, so maybe give us the respect that we usually give to you all. I hope I'm not sounding attacking; I'm just being appreciative of the work that you coders do for this community.

akanevsky 11-23-2006 11:34 AM

Quote:

Anthony, I still think this MOD is an awesome hack and would pay a nominal fee should you decide to start charging for it. I was only pointing out something that may have been a bug, and fortunately for this hack, and after I figured something out, was not one. It's the 'master coders' that make this, and all other hacks, possible for us 'members' to download and learn from, so maybe give us the respect that we usually give to you all. I hope I'm not sounding attacking; I'm just being appreciative of the work that you coders do for this community.
Hmm, thanks for positive feedback. Now I feel bad for being rude in the first place. Have you been able to eliminate the appeareance of incorrect unread messages count? And I'll probably post a fix for the postbit later today.

NFLfbJunkie 11-23-2006 02:13 PM

Still can't figure out the double PM problem. Any help would be greatly appreciated Anthony, but no hurry. Thanks.

akanevsky 11-23-2006 02:46 PM

Quote:

Originally Posted by Junkie (Post 1123664)
Still can't figure out the double PM problem. Any help would be greatly appreciated Anthony, but no hurry. Thanks.

What are the steps required to reproduce the problem?

NFLfbJunkie 11-23-2006 03:02 PM

When I (as the admin) issue a warning to a test user, I select the private message option to send a private message to the user receiving the warning. Then I log out as admin, log in as test user, and there are two messages that show as being in the inbox, but when going to the inbox, there is only one. Also, after deleting the one message, one message still shows as being in the inbox. Before running this test, I cleared all messages out of the test users inbox.

akanevsky 11-23-2006 03:04 PM

Please do what I said here:
https://vborg.vbsupport.ru/showpost....5&postcount=45
But do replace "user" with YOUR TABLE PREFIXuser

NFLfbJunkie 11-23-2006 05:47 PM

Have tried

UPDATE user SET pmunread = pmunread - 1 WHERE userid = fantasyf_vbuser

And still get

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist

Sorry if I am missing something so basic when it comes to ruuning queries.

My database prefix is fantasy_f and my table prefix is vb.

akanevsky 11-23-2006 05:51 PM

You replaced the wrong thing. It should be:
UPDATE fantasyf_vbuser SET pmunread = pmunread - 1 WHERE userid = INSERT_YOUR_USERID_HERE

NFLfbJunkie 11-23-2006 05:56 PM

Did

UPDATE fantasyf_vbuser SET pmunread = pmunread - 1 WHERE userid = 1

And get

vBulletin Message
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.fantasyf_vbuser' doesn't exist

Am I still missing something? Sorry for my inexperience.

akanevsky 11-23-2006 06:00 PM

Are you sure that fantasyf_vb is the correct prefix used in your database? Double check config.php.

NFLfbJunkie 11-23-2006 06:05 PM

Actually, it is fantasyf_forums. So i then change it and run

UPDATE fantasyf_forums_vbuser SET pmunread = pmunread - 1 WHERE userid = 1

And get

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.fantasyf_forums_vbuser' doesn't exist

Boy I'm lost.

akanevsky 11-23-2006 06:07 PM

Try this:
UPDATE fantasyf_forumsuser SET pmunread = pmunread - 1 WHERE userid = 1

There is no '_' between prefix and actual table name. So, your table names for queries are written like this:
PREFIXNAME_OF_TABLE

If table name is user, and prefix is helloworld, then in a query, you would write:
helloworlduser

NFLfbJunkie 11-23-2006 06:09 PM

Now get

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.fantasyf_forumsuser' doesn't exist

I don't want to waste your time with this, but is this something you're still trying to figure out on your end?

NFLfbJunkie 11-23-2006 06:11 PM

Also tried

UPDATE fantasyf_forums_userid SET pmunread = pmunread - 1 WHERE userid = 1

And get an error.

akanevsky 11-23-2006 06:12 PM

No, I am not trying to figure this out because I cannot without seeing the contents of your config.php file.

mikeylikesitz 11-24-2006 01:17 AM

Fatal error: Call to undefined function: fetch_ws_level() in /usr/local/apache/htdocs/forum/warn.php on line 195

when i try to issue a warning for a user, any ideas?

and also the warn_import.php file still links to your site asking for a license key and doesnt allow continue.

o0Hubba0o 11-24-2006 05:07 AM

That's cool that you released for free based on other mods like this and vB's included feature.

Now I just wish I could get that battle system for my graphics site. ;)

akanevsky 11-24-2006 11:49 AM

Quote:

Originally Posted by mikeylikesitz (Post 1124028)
Fatal error: Call to undefined function: fetch_ws_level() in /usr/local/apache/htdocs/forum/warn.php on line 195

when i try to issue a warning for a user, any ideas?

and also the warn_import.php file still links to your site asking for a license key and doesnt allow continue.

Yeah, I forgot to remove the licensing code from it. File re-uloaded. As for the error... make sure you imported the product XML and that plugins are enabled.

mikeylikesitz 11-24-2006 01:10 PM

it is imported and plugins are enabled.

thanks for the new import file.

akanevsky 11-24-2006 02:08 PM

Quote:

Originally Posted by mikeylikesitz (Post 1124221)
it is imported and plugins are enabled.

What other hacks do you have installed on global_start hook?

mikeylikesitz 11-24-2006 02:22 PM

i had a few, it seems there was an issue with an exclude forum plugin i got from here that i no longer use. Thank you, it seems to be fixed now.

Mr_Devlin 11-24-2006 04:02 PM

I asked Psionic Vision to make a german translation of this fine addon and he agreed. Here it is (see attachment):

akanevsky 11-24-2006 04:14 PM

Thanks for sharing. You have been listed as a supporter of this hack.

Mr_Devlin 11-24-2006 04:26 PM

I just created a new thread @ vbhacks-germany.org for this nice mod.

NFLfbJunkie 11-24-2006 10:19 PM

When selecting the link "Warning History for User", did you intend for the results to open in a new window?

akanevsky 11-24-2006 11:36 PM

Quote:

Originally Posted by Junkie (Post 1124486)
When selecting the link "Warning History for User", did you intend for the results to open in a new window?

Of course. Otherwise the page that opens would have a logotype, a footer, and all the other elements that full pages have.

NFLfbJunkie 11-24-2006 11:37 PM

Figured as such; was just curious. Any idea about how to remedy the duplicate PM sent issue?

mikeylikesitz 11-25-2006 05:11 PM

i also have an issue of the page loading really slowly when i post a warning, it takes anywhere from 1min to 5 min. is there something i should look for?

akanevsky 11-25-2006 05:12 PM

Quote:

Originally Posted by mikeylikesitz (Post 1124942)
i also have an issue of the page loading really slowly when i post a warning, it takes anywhere from 1min to 5 min. is there something i should look for?

There is no reason why the page should load 1 to 5 minutes other than general slowness of your server.


All times are GMT. The time now is 01:34 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.01397 seconds
  • Memory Usage 1,836KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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