Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 38
Search took 0.01 seconds.
Search: Posts Made By: Shadab
Forum: vBulletin 4 Articles 03 Jan 2010, 12:09
Replies: 14
Views: 4,503
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 17 Nov 2009, 12:18
Replies: 310
Views: 99,519
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 17 Nov 2009, 07:48
Replies: 310
Views: 99,519
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 16 Nov 2009, 17:12
Replies: 14
Views: 1,913
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 16 Nov 2009, 14:04
Replies: 8
Views: 1,551
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 16 Nov 2009, 13:34
Replies: 34
Views: 3,739
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 16 Nov 2009, 13:25
Replies: 34
Views: 3,739
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 16 Nov 2009, 13:13
Replies: 34
Views: 3,739
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 16 Nov 2009, 13:08
Replies: 8
Views: 1,551
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 16 Nov 2009, 12:56
Replies: 3
Views: 2,252
Posted By Shadab
You're welcome. :)

You're welcome. :)
Forum: vB4 Programming Discussions 16 Nov 2009, 12:46
Replies: 3
Views: 2,252
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 15 Nov 2009, 16:15
Replies: 17
Views: 3,594
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 15 Nov 2009, 10:28
Replies: 17
Views: 3,594
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 14 Nov 2009, 15:35
Replies: 3
Views: 1,303
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 14 Nov 2009, 12:59
Replies: 42
Views: 3,126
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 24 Oct 2009, 12:00
Replies: 2
Views: 506
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 14 Oct 2009, 16:37
Replies: 4
Views: 571
Posted By Shadab
Not a problem. :)

Not a problem. :)
Forum: vBulletin 3.8 Template Modifications 12 Oct 2009, 16:31
Replies: 6
Views: 2,861
Posted By Shadab
You need to take into account multi-page threads...

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

Related
- http://www.vbulletin.org/forum/showthread.php?p=1745800#post1745800
Forum: vB3 Programming Discussions 12 Oct 2009, 14:39
Replies: 4
Views: 1,066
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 11 Oct 2009, 17:54
Replies: 4
Views: 571
Posted By Shadab
Try this: <if...

Try this:

<if condition="!in_array($bbuserinfo['usergroupid'], array(1, 3))">
Forum: vB3 Programming Discussions 11 Oct 2009, 11:04
Replies: 4
Views: 1,066
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 Oct 2009, 16:08
Replies: 3
Views: 1,137
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 Oct 2009, 15:05
Replies: 3
Views: 1,137
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 07 Sep 2009, 09:56
Replies: 3
Views: 503
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 14 Aug 2009, 19:34
Replies: 2
Views: 606
Posted By Shadab
This:...

This: http://www.vbulletin.org/forum/showthread.php?t=202476 ?

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

 

New To Site? Need Help?

All times are GMT. The time now is 13:39.

Layout Options | Width: Wide Color: