Forum: vB5 Programming Discussions
17 Apr 2021, 19:03
|
Replies: 0
Views: 3,027
API, code to get last post
I have this code that works.
<?
if (isset($_GET['days'])) {
$num_days = (int)$_GET['days'];
} else {
$num_days = 10;
}
if (isset($_GET['wanted'])) {
|
Forum: vBulletin 5.x Products & Extensions
28 Mar 2020, 08:27
|
Replies: 17
Views: 5,886
|
Forum: vBulletin 5.x Products & Extensions
05 Dec 2019, 15:34
|
Replies: 29
Views: 14,048
|
Forum: vB5 General Discussions
23 Jan 2016, 17:04
|
Replies: 3
Views: 1,147
|
Forum: vB5 Programming Discussions
07 Jan 2016, 13:13
|
Replies: 0
Views: 776
Import photos
Here is a script for import from vb3 to vb5
How can I make it work for vb4 to vb5?
Original code:...
|
Forum: vBulletin 5.x Products & Extensions
07 Jan 2016, 09:22
|
Replies: 190
Views: 141,224
|
Forum: vB5 Programming Discussions
03 Jan 2016, 15:14
|
Replies: 2
Views: 1,622
|
Forum: vB5 Programming Discussions
20 Sep 2015, 15:21
|
Replies: 1
Views: 635
*bump*
I have now posted it on...
*bump*
I have now posted it on getafreelancer.com and will pay for development
https://www.freelancer.com/projects/php/Translate-code-from-working-vBulletin/
|
Forum: vB5 Programming Discussions
10 Jul 2015, 06:06
|
Replies: 1
Views: 635
Check usergroup on non-vb-pages
I have integrated vb4 with other pages to check if users are in the right group to access the page.
Example
if (is_member_of($vbulletin->userinfo, 6))
echo "In the right group";
} else {...
|
Forum: vB5 Programming Discussions
10 Jul 2015, 06:02
|
Replies: 1
Views: 611
|
Forum: vB4 Programming Discussions
09 Aug 2010, 12:00
|
Replies: 0
Views: 367
Convert Plugin from 3.8 to 4.x
I have a homemade plugin in my members profile. I can't find the right hook-location? It's now in memberlist_complete.
There is no error and no output...
require...
|
Forum: vB4 Programming Discussions
04 Jul 2010, 15:33
|
Replies: 0
Views: 343
Member profile hook?
I have made the following hook to show memberaquariums. In vb 3.8 it worked.
Is $userinfo[userid] changed in version 4.x
PHP-kod för plugin
require '../akvarium/include/connection.php';
...
|
Forum: vBulletin Status Icon Sets
20 Jun 2010, 20:16
|
Replies: 4
Views: 7,709
vB4 - Statusicons - Crystal
These icons are based on the Crystal icon theme - http://everaldo.com/crystal/
I have modified them to work with vBulletin. You can see my site at http://www.zoopet.com with the icons.
Preview...
|
Forum: vBulletin 3.5 Add-ons
14 Jun 2010, 09:57
|
Replies: 72
Views: 18,436
Works great with 4.0
Replace:
if...
Works great with 4.0
Replace:
if ($vbulletin->GPC['days'] < 1)
{
$vbulletin->GPC['days'] = 1;
}
$datecut = TIMENOW - (24 * 60 * 60 * $vbulletin->GPC['days']);
With:
|
Forum: vB3 Programming Discussions
23 Nov 2007, 05:10
|
Replies: 4
Views: 681
I did it like this
Same sql as above with...
I did it like this
Same sql as above with this line to show it.
echo "<div align='center'><img src='http://www.zoopet.com/forum/image.php?u=" . $rs_blog["userid"] . "&dateline" ....
|
Forum: vB3 Programming Discussions
22 Nov 2007, 15:42
|
Replies: 4
Views: 681
|
Forum: vB3 Programming Discussions
20 Nov 2007, 12:02
|
Replies: 4
Views: 681
Avatar on non-vb page
I have the following code to get the latest blog for my frontpage. How can I display the avatar for the user?
$query_blog = mysql_query("SELECT blogid, userid, username, title, lastblogtextid,...
|