Forum: vB4 Programming Discussions
29 May 2010, 12:59
|
Replies: 0
Views: 677
How do I get the section id in a php widget?
Hello everybody!
I am writing a php widget to get content depending on the sectionid of the cms page..
taking the default sections of the vbulletin clean install,
sectionid 1 would be the...
|
Forum: vBulletin 4 Articles
07 Apr 2010, 19:50
|
Replies: 14
Views: 8,543
|
Forum: vBulletin 4 Articles
07 Apr 2010, 10:28
|
Replies: 14
Views: 8,543
|
Forum: vBulletin 4 Articles
31 Mar 2010, 15:12
|
Replies: 310
Views: 101,443
|
Forum: vBulletin 4 Articles
28 Feb 2010, 07:16
|
Replies: 57
Views: 12,529
well as far as I know (assume) ....
(not sure...
well as far as I know (assume) ....
(not sure read somewhere, but sorry, cant remember where)
magic globals dont need registering,
like $template_hook, $show, $vboptions, $stylevar, $vbphrase
not...
|
Forum: vBulletin 4 Articles
28 Feb 2010, 05:43
|
Replies: 57
Views: 12,529
very nice.. you saved my day.. !!!
just one...
very nice.. you saved my day.. !!!
just one thing..
I thought the $show array does NOT need to be registered...
$templater->register('show', $show);
havent tested here yet.. but usually on other...
|
Forum: vBulletin 4.x Styles
22 Feb 2010, 21:43
|
Replies: 331
Views: 94,431
|
Forum: vB4 Programming Discussions
01 Feb 2010, 07:08
|
Replies: 1
Views: 422
i use...
i use http://www.vbulletin.org/forum/showthread.php?t=231407
F.
|
Forum: vB4 Programming Discussions
28 Jan 2010, 21:18
|
Replies: 17
Views: 1,082
|
Forum: vB4 Programming Discussions
28 Jan 2010, 21:06
|
Replies: 1
Views: 678
well i can only tell you how i imported some...
well i can only tell you how i imported some russian language files... in utf8 in 3.8 (as I read they didnt change a lot but will only in 4.1 or 4.2)
First, change the heading of the xml file.....
|
Forum: vB4 Programming Discussions
28 Jan 2010, 20:31
|
Replies: 4
Views: 3,444
|
Forum: vB4 Programming Discussions
28 Jan 2010, 17:11
|
Replies: 4
Views: 3,444
Thank you for explaining..
So if I understand...
Thank you for explaining..
So if I understand correctly, I still need the addslashes even if I use escape_string()
because in vbulletin i havent seen one single add or stripslashes anymore....
and...
|
Forum: vB4 Programming Discussions
28 Jan 2010, 11:33
|
Replies: 4
Views: 3,444
when to use htmlspecialchars_uni
Sorry if this question sounds stupid...
I am adapting an old hack of mine, for a multilanguage site.. (in utf8)
I have title, description and username to put into database (and pull from database...
|
Forum: vB4 Programming Discussions
24 Jan 2010, 19:27
|
Replies: 4
Views: 445
You are a genius, Lynn!! It works great..
<a...
You are a genius, Lynn!! It works great..
<a href="{vb:var relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a>
I changed footer template for the top link.....
|
Forum: vB4 Programming Discussions
24 Jan 2010, 18:51
|
Replies: 4
Views: 445
|
Forum: vB4 Programming Discussions
24 Jan 2010, 10:19
|
Replies: 4
Views: 1,113
|
Forum: vB4 Programming Discussions
24 Jan 2010, 08:44
|
Replies: 4
Views: 1,113
|
Forum: vB4 Programming Discussions
24 Jan 2010, 08:17
|
Replies: 4
Views: 445
|
Forum: vBulletin 4 Articles
21 Jan 2010, 06:04
|
Replies: 310
Views: 101,443
I would fetch it before...
if...
I would fetch it before...
if ($_REQUEST['do'] == 'page1')
{
$templater = vB_Template::create('page_bit');
$mypage_bit .= $templater->render();
$templater =...
|
Forum: vB4 Programming Discussions
20 Jan 2010, 07:48
|
Replies: 6
Views: 2,260
|
Forum: vB4 Programming Discussions
20 Jan 2010, 07:44
|
Replies: 3
Views: 1,099
|
Forum: vB4 Programming Discussions
20 Jan 2010, 03:30
|
Replies: 6
Views: 2,260
|
Forum: vB4 Programming Discussions
19 Jan 2010, 18:43
|
Replies: 2
Views: 1,321
|
Forum: vB4 Programming Discussions
19 Jan 2010, 18:31
|
Replies: 8
Views: 489
I would do it that way...
either: ...
I would do it that way...
either:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
...
|
Forum: vB4 Programming Discussions
19 Jan 2010, 18:06
|
Replies: 8
Views: 489
|