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

Showing results 1 to 25 of 78
Search took 0.00 seconds.
Search: Posts Made By: Kyojii
Forum: vB4 Programming Discussions 08-07-2012, 07:15 AM
Replies: 1
Views: 493
Posted By Kyojii
For anyone else with this problem you're looking...

For anyone else with this problem you're looking for...

// draw cp nav bar
construct_usercp_nav('usercp');
Forum: vB4 Programming Discussions 08-06-2012, 12:42 AM
Replies: 1
Views: 493
Posted By Kyojii
cpnav

In usercp.php and private.php when rendering the template $cpnav is passed to the template with a value, that as far as I can tell isn't set anywhere in either of the php files, or the included...
Forum: vB4 Programming Discussions 08-06-2012, 12:16 AM
Replies: 2
Views: 458
Posted By Kyojii
Thanks, I feel like an idiot... *sigh*.

Thanks, I feel like an idiot... *sigh*.
Forum: vB4 Programming Discussions 08-05-2012, 10:45 PM
Replies: 2
Views: 458
Posted By Kyojii
template rendered null?

$templater = vB_Template::create('pagenav');
$templater->register_page_templates();
$pagnav = $templater->render();
var_dump($pagenav);


Is outputting $pagenav = NULL, anyone know why it isn't...
Forum: vB4 Programming Discussions 07-31-2012, 09:42 AM
Replies: 2
Views: 1,092
Posted By Kyojii
Thanks

Thanks
Forum: vB4 Programming Discussions 07-30-2012, 07:45 AM
Replies: 2
Views: 1,092
Posted By Kyojii
Adding a notification.

Just wondering how you would go about adding a notification.

$notifications_total += 1;
$template_hook['notifications_menubits'] .= "<li>test</li>";

Didn't seem to work when hooked into...
Forum: vB4 Programming Discussions 07-09-2012, 09:34 AM
Replies: 0
Views: 414
Posted By Kyojii
fetch_user_avatar

Hm, I just recently noticed fetch_user_avatar has a boolean for returning the thumbnail or not. But I also noticed that when using an avatar from the avatar manager (one that isn't retrieved in...
Forum: vB4 Programming Discussions 07-09-2012, 06:41 AM
Replies: 6
Views: 825
Posted By Kyojii
Yeah, I found this out. I thought it would exist...

Yeah, I found this out. I thought it would exist as a variable because $headinclude $header etc do.
Forum: vBulletin 4.x Add-ons 07-09-2012, 06:35 AM
Replies: 13
BB Code Enhancements - Cel PHP in Custom BBCode
Views: 9,382
Posted By Kyojii
I checked it, and it appears it is.

I checked it, and it appears it is.
Forum: vB4 Programming Discussions 07-09-2012, 06:34 AM
Replies: 6
Views: 786
Posted By Kyojii
Thanks guys. --------------- Added...

Thanks guys.

--------------- Added 1341819639 at 1341819639 ---------------



Nope, globalizing $db works however even replacing both lines with $vbulletin->db the error occurs.
Forum: vB4 Programming Discussions 07-09-2012, 03:35 AM
Replies: 6
Views: 786
Posted By Kyojii
Call to a member function query_read() on a non-object

I seem to run into this problem a lot and it's always a pain to fix. This is being used to make a bbcode with this mod: https://vborg.vbsupport.ru/showthread.php?p=2346244#post2346244 .


<?php...
Forum: vBulletin 4.x Add-ons 07-09-2012, 02:36 AM
Replies: 13
BB Code Enhancements - Cel PHP in Custom BBCode
Views: 9,382
Posted By Kyojii
If you needed to do a query with the value is it...

If you needed to do a query with the value is it already sanitized?
Forum: vB4 Programming Discussions 07-09-2012, 12:54 AM
Replies: 8
Views: 1,050
Posted By Kyojii
Got it, the problem was that it wasn't storing...

Got it, the problem was that it wasn't storing the fields as their integers like in the database but rather their value.
Forum: vB4 Programming Discussions 07-08-2012, 05:48 PM
Replies: 8
Views: 1,050
Posted By Kyojii
Hm you're right that does work, the only other...

Hm you're right that does work, the only other thing I think it could be is the if statements.

if ($post['field12'] > 0){

Hm, $post['field12'] (like used in templates) nor...
Forum: vB4 Programming Discussions 07-08-2012, 05:21 PM
Replies: 8
Views: 1,050
Posted By Kyojii
I can confirm that every style has that template...

I can confirm that every style has that template hook.

{vb:raw template_hook.postbit_userinfo_right}
Forum: vB4 Programming Discussions 07-08-2012, 05:14 PM
Replies: 8
Views: 1,050
Posted By Kyojii
Thanks, but I tried at both postbit_display_start...

Thanks, but I tried at both postbit_display_start and postbit_display_complete. With the same results.
Forum: vB4 Programming Discussions 07-08-2012, 03:16 PM
Replies: 8
Views: 1,050
Posted By Kyojii
$template_hook['postbit_userinfo_right'] not working

This is a continuation of my other question.

$template_hook['postbit_userinfo_right'] .= "something here";

Using the above code at the hook location process_templates_complete doesn't seem to...
Forum: vB4 Programming Discussions 07-08-2012, 01:15 PM
Replies: 6
Views: 825
Posted By Kyojii
Thanks, that worked. --------------- Added...

Thanks, that worked.

--------------- Added 1341760064 at 1341760064 ---------------

I have another question, is there a list of what the template variables actually are? I noticed there's...
Forum: vB4 Programming Discussions 07-08-2012, 12:24 PM
Replies: 6
Views: 825
Posted By Kyojii
Edit template with hook?

I have a file I would like to include on the editprofile page. Rather than edit all of the templates and include it in every one I thought it would be easier to make a hook that appends it to all of...
Forum: vB4 Programming Discussions 04-15-2012, 08:49 PM
Replies: 3
Views: 422
Posted By Kyojii
Nope, I fixed the typo and ran pre_save, and...

Nope, I fixed the typo and ran pre_save, and $pmdm->errors was empty. The entry still got put in the the database however only one of the 2 required like before.

This does seem to be a permissions...
Forum: vB4 Programming Discussions 04-15-2012, 04:21 PM
Replies: 3
Views: 422
Posted By Kyojii
Sending a user a pm.

So I made this code,
$from = 0;
$fromname = '';
$title = 'Test PM';
$message = 'this is a test pm';
$sendpermissions = array(
pmpermissions => 7,
pmsendmax => 0,
pmquota => 0,...
Forum: vB4 General Discussions 04-14-2012, 03:50 PM
Replies: 1
Views: 336
Posted By Kyojii
What does the permissions number represent?

For example when it says a users permissions are "16777215".
Forum: vB4 Programming Discussions 04-14-2012, 01:37 PM
Replies: 0
Views: 368
Posted By Kyojii
Nevermind

don't need to do this :S
Forum: vB4 Programming Discussions 04-13-2012, 10:42 PM
Replies: 2
Views: 839
Posted By Kyojii
Does anyone happen to know what permission this...

Does anyone happen to know what permission this is? Found my problem, it's completely unrelated to the parsing it's because the option parameter for the video is missing.
Forum: vB4 Programming Discussions 04-11-2012, 02:47 AM
Replies: 0
Views: 354
Posted By Kyojii
Parsing Video bbcode

Does anyone know how to do this? The documentation for the handle_bbcode_video function hasn't really helped me.
Showing results 1 to 25 of 78

 
Forum Jump

All times are GMT. The time now is 02:26 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.01846 seconds
  • Memory Usage 2,036KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (4)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
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete