Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: cowbert
Forum: vB4 Programming Discussions 08-30-2010, 03:21 PM
Replies: 4
Views: 668
Posted By cowbert
My Vbulletin instance uses a prefix...

My Vbulletin instance uses a prefix ($config['Database']['tableprefix'] = 'vb'; ), my custom table does not....

But even if I created vbmy_custom_table, and called .TABLE_PREFIX. it does not find...
Forum: vB4 Programming Discussions 08-30-2010, 02:53 PM
Replies: 4
Views: 668
Posted By cowbert
This does/will not work because I am pretty sure...

This does/will not work because I am pretty sure TABLE_PREFIX points to the $config['Database']['tableprefix'] value.

It looks like vbulletin is unable to query any tables except its own. Unless...
Forum: vB4 Programming Discussions 08-30-2010, 02:35 PM
Replies: 4
Views: 668
Posted By cowbert
How to query custom table

I created a custom mysql table using a separate prefix and I wrote a plugin to read from it in vB, but when I do:

$result = $vbulletin->db->query_first_slave("
SELECT some_field
FROM...
Forum: Modification Graveyard 05-21-2010, 01:59 PM
Replies: 148
Miscellaneous Hacks - LDAP Authentication
Views: 45,498
Posted By cowbert
Remember to use the generic TABLE_PREFIX consts....

Remember to use the generic TABLE_PREFIX consts. I would recommend against setting new aliased variables; it only saves typing, and then you have to add additional doco like you do. Just stick with...
Forum: Modification Graveyard 05-21-2010, 02:33 AM
Replies: 148
Miscellaneous Hacks - LDAP Authentication
Views: 45,498
Posted By cowbert
Here is the fixup: You need to use the...

Here is the fixup:

You need to use the new-style object call to escape the chars, don't use the php external function(s) (particularly because people may be using mysqli and so forth)

Replace...
Forum: vBulletin 4.x Add-ons 05-20-2010, 05:38 PM
Replies: 42
Integration with vBulletin - vBulletin Ldap Authentication Plugin 1.0.1
Views: 19,424
Posted By cowbert
Auth works but fails to create the user if the...

Auth works but fails to create the user if the user does not already exist in vB, so you get logged out as soon as it redirects after logging in.
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT. The time now is 09:08 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.03643 seconds
  • Memory Usage 1,913KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (6)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (9)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • forumjump
  • search_complete
  • navbits
  • navbits_complete