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

Showing results 1 to 25 of 38
Search took 0.00 seconds.
Search: Posts Made By: Shadab
Forum: vBulletin 4 Articles 01-03-2010, 11:09 AM
Replies: 14
Views: 5,128
Posted By Shadab
vbulletin-chrome.css has nothing to do with...

vbulletin-chrome.css has nothing to do with Google Chrome.
vBulletin "chrome" refers to the main Header, Navigation and Footer elements. :)
Forum: vBulletin 4 Articles 11-17-2009, 11:18 AM
Replies: 307
Views: 109,067
Posted By Shadab
Not a problem! ...

Not a problem!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Another note; on multidimensional arrays...
Suppose you have a nested / multidimensional array set, like:

// Array declaration &...
Forum: vBulletin 4 Articles 11-17-2009, 06:48 AM
Replies: 307
Views: 109,067
Posted By Shadab
Thanks for the write up, Cellarius. :) Btw,...

Thanks for the write up, Cellarius. :)

Btw, shouldn't {vb:raw my_array.value1} be {vb:raw my_array.key1} in the third codebox ?
(which would output "value1")
Forum: vB4 Programming Discussions 11-16-2009, 04:12 PM
Replies: 14
Views: 2,105
Posted By Shadab
Hi Shelby. This works, although only when...

Hi Shelby.

This works, although only when the tab is in 'selected' state:
<li class="selected popupmenu">
<a class="navtab popupctrl" href="javascript://">Drop Down</a>
<ul...
Forum: vB4 Programming Discussions 11-16-2009, 01:04 PM
Replies: 8
Views: 1,739
Posted By Shadab
Haven't read the whole source code. But... To...

Haven't read the whole source code. But...
To convert
eval('$ed2kbit .= "' . fetch_template('ed2kbit') . '";');


to be 4.0 compatible, use this:
(you need to explicitly register all the...
Forum: vB4 General Discussions 11-16-2009, 12:34 PM
Replies: 34
Views: 4,300
Posted By Shadab
A colon was missing in line 3. Sorry. Try this: ...

A colon was missing in line 3. Sorry. Try this:

$abcHTML = vB_Template::create('abc')->render();

vB_Template::preRegister('FORUMHOME', array('var' => $abcHTML));
Forum: vB4 General Discussions 11-16-2009, 12:25 PM
Replies: 34
Views: 4,300
Posted By Shadab
Try the code below: $abcHTML =...

Try the code below:

$abcHTML = vB_Template::Create('abc')->render();

vB_Template:preRegister('FORUMHOME', array('var' => $abcHTML));

Then you can use {vb:raw var} in your Forumhome template...
Forum: vB4 General Discussions 11-16-2009, 12:13 PM
Replies: 34
Views: 4,300
Posted By Shadab
@Yellow Slider: If I understand correctly,...

@Yellow Slider:

If I understand correctly, you want to evaluate the template "abc"
and make the result available in the FORUMHOME template via the variable "var" ?
Forum: vB4 Programming Discussions 11-16-2009, 12:08 PM
Replies: 8
Views: 1,739
Posted By Shadab
What is the name of that template? Also, are...

What is the name of that template?

Also, are you putting that php code in a plugin or in a custom PHP file?
Forum: vB4 Programming Discussions 11-16-2009, 11:56 AM
Replies: 3
Views: 2,489
Posted By Shadab
You're welcome. :)

You're welcome. :)
Forum: vB4 Programming Discussions 11-16-2009, 11:46 AM
Replies: 3
Views: 2,489
Posted By Shadab
Try this in the plugin: $car = 'Porsche'; ...

Try this in the plugin:

$car = 'Porsche';

vB_Template::preRegister('headinclude', array('car' => $car));
Forum: vB4 Programming Discussions 11-15-2009, 03:15 PM
Replies: 17
Views: 4,087
Posted By Shadab
Your code was registering the variable with the...

Your code was registering the variable with the main (TEST) template, instead of the sidebar template.
Try this:

##The variable to be used in 'my_sidebar_1' template
$ExVariable =...
Forum: vB4 Programming Discussions 11-15-2009, 09:28 AM
Replies: 17
Views: 4,087
Posted By Shadab
It makes the header, footer and headinclude...

It makes the header, footer and headinclude templates available to the template being evaluated.

No. But you can do that via the register() method.
For example: [untested]

$templater =...
Forum: vB4 General Discussions 11-14-2009, 02:35 PM
Replies: 3
Views: 1,715
Posted By Shadab
You're having an old version of MySQL. ...

You're having an old version of MySQL.

Minimum required MySQL version: 4.1 (Recommended is 5.0.19)
See this thread: vBulletin 4: Minimum System Requirements ...
Forum: vB4 General Discussions 11-14-2009, 11:59 AM
Replies: 42
Views: 3,864
Posted By Shadab
On my local dev instance ? Yep. On a...

On my local dev instance ?
Yep.

On a live/production environment ?
Not until 4.1 or 4.2 :)
Forum: vB3 General Discussions 10-24-2009, 11:00 AM
Replies: 2
Views: 575
Posted By Shadab
Edit the bbcode_code template (in the BB Code...

Edit the bbcode_code template (in the BB Code Layout Templates group) in your Style Manager.
Forum: vB3 Programming Discussions 10-14-2009, 03:37 PM
Replies: 4
Views: 651
Posted By Shadab
Not a problem. :)

Not a problem. :)
Forum: vBulletin 3.8 Template Modifications 10-12-2009, 03:31 PM
Replies: 6
Views: 3,331
Posted By Shadab
You need to take into account multi-page threads...

You need to take into account multi-page threads too.

Related
- https://vborg.vbsupport.ru/showthread.php?p=1745800#post1745800
Forum: vB3 Programming Discussions 10-12-2009, 01:39 PM
Replies: 4
Views: 1,186
Posted By Shadab
Could it be that your custom script uses a global...

Could it be that your custom script uses a global $db variable too; overwriting the one that vBulletin references via $vbulletin->db ?

Does simply initializing vBulletin inside your script...
Forum: vB3 Programming Discussions 10-11-2009, 04:54 PM
Replies: 4
Views: 651
Posted By Shadab
Try this: <if...

Try this:

<if condition="!in_array($bbuserinfo['usergroupid'], array(1, 3))">
Forum: vB3 Programming Discussions 10-11-2009, 10:04 AM
Replies: 4
Views: 1,186
Posted By Shadab
Me again. :) Not really sure if chdir()'ing...

Me again. :)

Not really sure if chdir()'ing to the vBulletin's directory before including global.php will help;
try and see if this works:

// [...]

$currentDirectory = getcwd();...
Forum: vB3 General Discussions 10-10-2009, 03:08 PM
Replies: 3
Views: 1,471
Posted By Shadab
Indicates that the error is coming from a...

Indicates that the error is coming from a modification. (And, functions_zseo.php most probably belongs to Zoints SEO.)

Make sure that this particular file exists in your /includes/ directory.
Forum: vB3 General Discussions 10-10-2009, 02:05 PM
Replies: 3
Views: 1,471
Posted By Shadab
Which vB version? On which page are you getting...

Which vB version? On which page are you getting that error ?

Please paste the complete error message that you get.
Forum: vB3 General Discussions 09-07-2009, 08:56 AM
Replies: 3
Views: 577
Posted By Shadab
Your .new_footer CSS class has a width of 110%. ...

Your .new_footer CSS class has a width of 110%.

Edit and make that 100% to remove the horizontal scroll. :)
Forum: vB3 General Discussions 08-14-2009, 06:34 PM
Replies: 2
Views: 654
Posted By Shadab
This:...

This: https://vborg.vbsupport.ru/showthread.php?t=202476 ?

(Automatic Media Embedding)
Showing results 1 to 25 of 38

 
Forum Jump

All times are GMT. The time now is 01:37 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.02679 seconds
  • Memory Usage 2,029KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (26)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