Thread: Major Additions - vB Ad Management 4
View Single Post
  #797  
Old 04-02-2007, 04:45 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by milsirhc View Post
I think I found another bug Redtyger!

Not sure if i'm the only one having the problem.. but if you try going to a user profile page and click on his last post, you will encounter a SQL error (randomly). I tried 5 times and it hit me.

The reason why I believe this is the plugin that causing it (i could be wrong) is that I disabled all my plugins and enable them one by one and I got the error when i enabled the ad management plugin.

Hmm. can someone else confirm?

Thanks!

Opps: Edited (Same bug as what Brettmo is having!)
I'm 99% certain now that it's vBSEO that is causing these problems. Not a problem with their software, but I'm guessing that it alters thread and post details enough to cause an error in my modification, which uses the default details.

I don't mind implementing a workaround for vBSEO users if it's not too arduous, but it might be a bit tricky to deal with, since I have no testing copy of vBSEO and I can't look at their code to help with fixes anyway because they encrypt it all.

If either of you is able to get support from vBSEO, you could ask on my behalf and see if they can tell you what the problem is. Just tell them that you're trying to pull details from the database using:

Code:
SELECT post.userid, userfield.field7, user.usergroupid
FROM post AS post, userfield AS userfield, user AS user
WHERE threadid = 
AND userfield.userid = post.userid
AND user.userid = post.userid
ORDER BY post.dateline DESC
LIMIT 1;
and as you can see the threadid is not being used, it's blank. It works correctly on a non-vBSEO forum.

Oh and don't forget to post here if you've asked them so they don't get lots of enquiries. I guess if it's not vBSEO that's the problem I'll soon know about it.


Quote:
Originally Posted by KipLarson View Post
Hey, I don't think you answered my question about premium yearly subscriptions. Is there support for this? i.e. pay to get into the premium usergroup?
Yes, just use the default vBulletin Usergroups and the vB Ad Management Usergroup settings. You can restrict access by Usergroup very easily.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01069 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete