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

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: sp00fer
Forum: vBulletin 3 Articles 12-21-2006, 06:24 PM
Replies: 99
Views: 35,380
Posted By sp00fer
i get an mySQL sytax error if i use this to send...

i get an mySQL sytax error if i use this to send a PM to a user with an apostrophe in his name........any help?

Edit: Manually Escaping the apostrophe also doesnt work (generates a vbulletin...
Forum: vB3 General Discussions 11-24-2006, 02:43 PM
Replies: 3
Views: 1,081
Posted By sp00fer
thanks, that worked.....could u explain why...

thanks, that worked.....could u explain why though?
Forum: vB3 General Discussions 11-23-2006, 08:55 PM
Replies: 3
Views: 1,081
Posted By sp00fer
problem using db class in a hook

i have this in the postbit_display_complete hook:


$result=$vbulletin->db->query_read("Select * from user")


and i get this error:


any help?
Forum: vB3 Programming Discussions 11-23-2006, 08:05 PM
Replies: 1
Views: 958
Posted By sp00fer
1 year bump :)

1 year bump :)
Forum: vB3 General Discussions 06-09-2006, 08:52 PM
Replies: 1
Views: 789
Posted By sp00fer
which hook to use? (trying to pass info to forumhome_lastpostby template)

basically, i am trying to shorten the $lastpostinfo[trimhead] string that appears in forumhome_lastpostby templates.

Which hook should i use to pass the modified variable to the template? none of...
Forum: vB3 General Discussions 05-13-2006, 12:10 AM
Replies: 0
Views: 662
Posted By sp00fer
API newbie

Hi, i have a silly question about theHow To create Threads (https://vborg.vbsupport.ru/showthread.php?t=101330) tutorial

How do i add line breaks to the thread content? ive tried <br> and \n ,...
Forum: vB3 General Discussions 03-08-2006, 11:06 PM
Replies: 4
Views: 798
Posted By sp00fer
AFAIK the HTML specification only allows...

AFAIK the HTML specification only allows plaintext inside <option>...</opton>, you would need to write a DHTML menu (with images) and make it look like a drop down box.
Forum: vB3 General Discussions 03-06-2006, 11:29 PM
Replies: 2
Views: 666
Posted By sp00fer
no change, $post[userdiv] is still empty when...

no change, $post[userdiv] is still empty when used in the postbit template :(

The SQL query definately works, i added this to check it:


if (!isset($postcache["$postid"]))
{...
Forum: vB3 General Discussions 03-06-2006, 03:18 PM
Replies: 2
Views: 666
Posted By sp00fer
Adding a variable fetch_post_info()

I am trying to get a row from a custom table included in the $post array. (ie, the array used in templates that has all the post info in).

So i went in functions.php, found the...
Forum: vB3 General Discussions 02-27-2006, 11:39 AM
Replies: 3
Views: 904
Posted By sp00fer
thanks to both of you

thanks to both of you
Forum: vB3 General Discussions 02-26-2006, 12:50 PM
Replies: 3
Views: 904
Posted By sp00fer
passing a variable to style templates

how do i create a new variable that can be used in the style templates?

eg, suppose in php i have:
$x=time();

and in a postbit template i have
<tr><td>the unix time is $x

Where do i...
Forum: vB3 Programming Discussions 10-27-2005, 09:50 PM
Replies: 1
Views: 958
Posted By sp00fer
How to get a list of all forums you have permission to see

stupid question probably....but how do i do this?

i want to write a function that queries a $userid and returns a list of all forums that the person can see....but i dont have a clue where to...
Forum: vBulletin 3.5 Styles 10-22-2005, 04:11 PM
Replies: 8
Views: 6,796
Posted By sp00fer
doesn't seem to work on firefox with vb 3.5.0 :( ...

doesn't seem to work on firefox with vb 3.5.0 :(
(it may be a VB bug - it doesn't even attempt to load the theme, just goes withthe default theme instead).

Looks great on IE tho.
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT. The time now is 12:16 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.03442 seconds
  • Memory Usage 1,950KB
  • 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
  • (13)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (3)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