Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 150
Search took 0.02 seconds.
Search: Posts Made By: Kirk Y
Forum: vB3 Programming Discussions 05 Jan 2009, 16:50
Replies: 1
Views: 775
Posted By Kirk Y
Use $bbuserinfo (or $vbulletin->userinfo if...

Use $bbuserinfo (or $vbulletin->userinfo if inside a plugin). This will always return the currently viewing user's information.
Forum: vB3 Programming Discussions 05 Jan 2009, 16:48
Replies: 14
Views: 1,634
Posted By Kirk Y
I thought the story was that Kier had a user on...

I thought the story was that Kier had a user on his board called "tachy" who really needing to be sent away to coventry for a while... they say necessity is the mother of invention. :)
Forum: vB3 Programming Discussions 05 Jan 2009, 16:46
Replies: 21
Views: 2,067
Posted By Kirk Y
Find the class tag of that td cell in your...

Find the class tag of that td cell in your postbit and use a conditional statement to switch it around depending on usergroup.

<td class="<if condition="is_member_of($post,...
Forum: vB3 General Discussions 04 Jan 2009, 22:04
Replies: 8
Views: 1,069
Posted By Kirk Y
It's deprecated.

It's deprecated.
Forum: vB3 General Discussions 04 Jan 2009, 18:51
Replies: 4
Views: 831
Posted By Kirk Y
UKBusiness's is the correct one (though the ! in...

UKBusiness's is the correct one (though the ! in front of it will display for members who are not in groups 5, 6, or 7.

ry215's code will not take Secondary Usergroups into account.

Keep in...
Forum: vB3 Programming Discussions 04 Jan 2009, 18:20
Replies: 11
Views: 946
Posted By Kirk Y
Don't forget to take table prefixes into account...

Don't forget to take table prefixes into account in your SHOW COLUMNS query.
Forum: vB3 Programming Discussions 04 Jan 2009, 05:45
Replies: 11
Views: 946
Posted By Kirk Y
If you look at what $columns contains, you'll see...

If you look at what $columns contains, you'll see it is a two-dimensional array. You need to loop through it after your query to extract the relevant information; in this case - the field names.
...
Forum: vB3 General Discussions 04 Jan 2009, 05:40
Replies: 5
Views: 668
Posted By Kirk Y
http://yoursite.com/forum/misc.php?do=bbcode ...

http://yoursite.com/forum/misc.php?do=bbcode

ie: http://vbulletin.org/forum/misc.php?do=bbcode
Forum: vB3 General Discussions 04 Jan 2009, 05:39
Replies: 2
Views: 559
Posted By Kirk Y
Yes, you need a modification to provide that...

Yes, you need a modification to provide that facility.

http://www.vbulletin.org/forum/showthread.php?t=96926
Forum: vB3 General Discussions 04 Jan 2009, 05:32
Replies: 11
Views: 1,023
Posted By Kirk Y
I think they've got the two switched around. :) ...

I think they've got the two switched around. :)

Nulled vBulletin installations are prone to exploitation because (a) they're most likely running outdated and insecure components and (b) they're...
Forum: vB3 General Discussions 04 Jan 2009, 04:29
Replies: 21
Views: 8,526
Posted By Kirk Y
That would only kick users who haven't checked...

That would only kick users who haven't checked "Remember me" when they logged in.
Forum: vB3 Programming Discussions 04 Jan 2009, 04:26
Replies: 3
Views: 660
Posted By Kirk Y
That's not a vB standard function. Most likely...

That's not a vB standard function. Most likely you have installed a modification that is incompatible with 3.7.4 or is missing a required file.

I'd suggest you go through your Modifications and...
Forum: Community Lounge 04 Jan 2009, 02:13
Replies: 55
Views: 5,671
Posted By Kirk Y
The last time Dean uploaded his picture, we had...

The last time Dean uploaded his picture, we had to repair the entire post table. :p
Forum: vB3 General Discussions 04 Jan 2009, 02:10
Replies: 14
Views: 2,750
Posted By Kirk Y
Yes, you're allowed to remove the version number....

Yes, you're allowed to remove the version number.

Edit: Whoa, we tied Brad. :D
Forum: vB3 Programming Discussions 04 Jan 2009, 02:08
Replies: 5
Views: 732
Posted By Kirk Y
Sorry, Dismounted's REGEX must be off. Give...

Sorry, Dismounted's REGEX must be off.

Give this a try (little rusty, but should work) --
^[a-zA-Z0-9]+$Should allow only upper/lower alphanumeric.
Forum: vB3 Programming Discussions 04 Jan 2009, 01:05
Replies: 5
Views: 732
Posted By Kirk Y
http://www.vbulletin.org/forum/showthread.php?t=15...

http://www.vbulletin.org/forum/showthread.php?t=159222
Forum: vB3 Programming Discussions 04 Jan 2009, 00:22
Replies: 11
Views: 946
Posted By Kirk Y
$columns = $db->query_read("SHOW COLUMNS FROM " ....

$columns = $db->query_read("SHOW COLUMNS FROM " . TABLE_PREFIX . "table");

You'd need to loop through $columns and take out the "field" key.
Forum: vB3 Programming Discussions 03 Jan 2009, 22:55
Replies: 11
Views: 946
Posted By Kirk Y
You could run a query to retrieve the columns in...

You could run a query to retrieve the columns in "table" and then control the flow of logic from there.

if (!in_array('column3', $columns))
{
// create column 3 as it does not exist yet
}
Forum: vB3 Programming Discussions 03 Jan 2009, 22:51
Replies: 3
Views: 769
Posted By Kirk Y
Permissions are inherited from the bottom up. So...

Permissions are inherited from the bottom up. So if a user is a member of a group which is exempt from advertisements, he/she will not see them even if they are also a member of a group which is not...
Forum: vBulletin 3.7 Add-ons 03 Jan 2009, 19:45
Replies: 139
Moderators Functions Moderator Checkpoint System
Views: 41,176
Posted By Kirk Y
v1.1.7 released. This release fixes a Checkcount...

v1.1.7 released. This release fixes a Checkcount Display bug in Forumdisplay. The bug affects boards whose native thousandth-separator is not the comma.

ie. "1.119" instead of "1,119"
...
Forum: vB3 General Discussions 03 Jan 2009, 01:36
Replies: 1
Views: 633
Posted By Kirk Y
Next to whose Username? If you mean users...

Next to whose Username?

If you mean users who've donated, you could create a secondary usergroup and place these users in that group.

You could then have a template conditional next to their...
Forum: vB3 Programming Discussions 03 Jan 2009, 01:32
Replies: 8
Views: 971
Posted By Kirk Y
In PHP, $var is the same as isset($var) which...

In PHP, $var is the same as isset($var) which returns TRUE if $var exists and FALSE if it does not.

So--
<if condition="$var">Stuff to do</if>

Will display "Stuff to do" when $var exists.
Forum: vB3 Programming Discussions 03 Jan 2009, 01:27
Replies: 8
Views: 971
Posted By Kirk Y
The syntax is: <if...

The syntax is:
<if condition="CONDITION">Displayed when CONDITION is TRUE</if>This is a vBulletin-only HTML "tag" -- it is parsed out by PHP when the template is evaluated. You can't just throw it...
Forum: vBulletin 3.7 Add-ons 02 Jan 2009, 20:08
Replies: 139
Moderators Functions Moderator Checkpoint System
Views: 41,176
Posted By Kirk Y
Wuelfi, please set me up with an Admin account on...

Wuelfi, please set me up with an Admin account on your board if you don't mind.
Forum: vB3 General Discussions 02 Jan 2009, 02:33
Replies: 12
Views: 1,461
Posted By Kirk Y
I think we're straying away from the OP's...

I think we're straying away from the OP's question. :)

You would need a modification to implement a new set of email fields.
Showing results 1 to 25 of 150

 

New To Site? Need Help?

All times are GMT. The time now is 17:53.

Layout Options | Width: Wide Color: