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)
-   -   MAF: (Moderator Application Form & Application Rating Module) (https://vborg.vbsupport.ru/showthread.php?t=77340)

wwesn1 03-03-2005 03:49 PM

nvm..........

wwesn1 03-03-2005 04:19 PM

If anyone still has trouble with that file, such as I did - caused mysql errors and one of the table names was wrong - missing an 's', here is my edited file (which works for me and I can delete apps now)....

sabret00the 03-03-2005 04:51 PM

Quote:

Originally Posted by wwesn1
If anyone still has trouble with that file, such as I did - caused mysql errors and one of the table names was wrong - missing an 's', here is my edited file (which works for me and I can delete apps now)....

your file is missing table prefixes so i don't even know what version you had. but thank you, i've now updated the files :)

wwesn1 03-03-2005 04:55 PM

It should only have been missing one cause it was causing errors. This was the original...

Code:

        $getuser = $DB_site->query_first("
                SELECT *
                FROM " . TABLE_PREFIX . "user
                WHERE " . TABLE_PREFIX . "username = '" . $username . "'
        ");

but since that would make it vb3_username - that is wrong, at least for me anyhow.

and for some reason the

Code:

DELETE *
                FROM maf_application
                WHERE userid = $getuser[userid]

wouldn't work for me so I had to remove the '*' (also from the line after this)

But as long as it works, I'm happy :)

Lizard King 03-03-2005 05:03 PM

how I can view who applied and where to discuss the application ?
I get the new thread working but there is no link for how I can view who applied and what they fulled in the forum ?

When I go to www.yoursite.com/forum/modcp/maf_rateapp.php it doesn't give me anything.

sabret00the 03-03-2005 05:05 PM

Quote:

Originally Posted by Lizard King
how I can view who applied and where to discuss the application ?
I get the new thread working but there is no link for how I can view who applied and what they fulled in the forum ?

When I go to www.yoursite.com/forum/modcp/maf_rateapp.php it doesn't give me anything.

the moderator control panel to rate

and the thread to discuss it.

and i'll add a fix for that tonight, i just need to work out the table prefix problem first

Lizard King 03-03-2005 05:09 PM

Quote:

Originally Posted by sabret00the
the moderator control panel to rate

and the thread to discuss it.

and i'll add a fix for that tonight, i just need to work out the table prefix problem first

One more thing. I made a test application once and the now I have like 10 threads in my choosed forum :) I don't know why but it still continues to open a new thread :)

sabret00the 03-03-2005 05:13 PM

Quote:

Originally Posted by Lizard King
One more thing. I made a test application once and the now I have like 10 threads in my choosed forum :) I don't know why but it still continues to open a new thread :)

how often are you running this cron?

Lizard King 03-03-2005 05:18 PM

Quote:

Originally Posted by sabret00the
how often are you running this cron?

I didn't choose to run he cron and now I choosed daily :)

sabret00the 03-03-2005 05:55 PM

Quote:

Originally Posted by wwesn1
It should only have been missing one cause it was causing errors. This was the original...

Code:

        $getuser = $DB_site->query_first("
                SELECT *
                FROM " . TABLE_PREFIX . "user
                WHERE " . TABLE_PREFIX . "username = '" . $username . "'
        ");

but since that would make it vb3_username - that is wrong, at least for me anyhow.

and for some reason the

Code:

DELETE *
                FROM maf_application
                WHERE userid = $getuser[userid]

wouldn't work for me so I had to remove the '*' (also from the line after this)

But as long as it works, I'm happy :)

table prefix errors all removed.


All times are GMT. The time now is 07:58 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.01305 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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