Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 150
Search took 0.03 seconds.
Search: Posts Made By: Dave
Forum: vB3 General Discussions Yesterday, 15:32
Replies: 5
Views: 64
Posted By Dave
Can't really do much with that, we need to see...

Can't really do much with that, we need to see the lines of code in the plugin that are throwing the errors.
Forum: vB3 General Discussions Yesterday, 12:19
Replies: 5
Views: 64
Posted By Dave
That indicates "$db->query_write" was put in the...

That indicates "$db->query_write" was put in the SQL query statement. The SQL query needs to be called using that function and not put in the actual statement. If you paste the pieces of code here...
Forum: vB3 General Discussions Yesterday, 01:24
Replies: 5
Views: 64
Posted By Dave
This happens because the plugin doesn't call the...

This happens because the plugin doesn't call the vBulletin database interaction methods but instead calls PHP's mysql_* library methods directly.

For example mysql_query in vBulletin should be...
Forum: vB3 General Discussions 19 Sep 2019, 18:54
Replies: 2
Views: 43
Posted By Dave
Change the database type to mysqli in the...

Change the database type to mysqli in the /includes/config.php file.
Forum: vB5 General Discussions 19 Sep 2019, 17:13
Replies: 1
Views: 41
Posted By Dave
The "widget_register" template is used for the...

The "widget_register" template is used for the registration page. You can just open the registration page in an incognito window in Chrome or private browsing window in Firefox and refresh that page...
Forum: vBulletin 4.x Add-ons 12 Sep 2019, 00:16
Replies: 3,775
Show Thread Enhancements [AJAX] Post Thank You Hack
Views: 820,898
Posted By Dave
Just insert $postids = array(); before line...

Just insert
$postids = array();
before line 182.
Forum: Community Lounge 11 Sep 2019, 19:34
Replies: 2
Views: 61
Posted By Dave
https://vbulletin.org/forum/forumdisplay.php?f=30...

https://vbulletin.org/forum/forumdisplay.php?f=30 that is the forum section you're looking for.
I will close this thread.
Forum: vB4 General Discussions 08 Sep 2019, 23:56
Replies: 1
Views: 29
Posted By Dave
Hard to say when we don't know the URL's of your...

Hard to say when we don't know the URL's of your site and different skins on which it doesn't work. Good chance it's a style issue or JavaScript collision with another script.
Forum: vB4 Programming Discussions 08 Sep 2019, 13:28
Replies: 2
Views: 76
Posted By Dave
if($vbulletin->userinfo['userid'] <= 0){ //...

if($vbulletin->userinfo['userid'] <= 0){
// Not logged in
} else {
// Logged in
}

If you want to do it in a template then it depends on the template, but generally something like
<vb:if...
Forum: vB4 Programming Discussions 07 Sep 2019, 17:04
Replies: 5
Views: 59
Posted By Dave
Hmm I'm not sure... the error indicates that it's...

Hmm I'm not sure... the error indicates that it's on the first line but that looks normal. I think the only way to figure it out properly is to debug it on the live server.

This is on the default...
Forum: vB4 Programming Discussions 07 Sep 2019, 02:05
Replies: 5
Views: 59
Posted By Dave
The error happens in /includes/class_core.php...

The error happens in /includes/class_core.php line 4684, which is the template rendering function.
So in one of the templates that renders that page, there's a syntax error.

I would test it in...
Forum: vB4 General Discussions 06 Sep 2019, 16:59
Replies: 4
Views: 60
Posted By Dave
Based on this thread...

Based on this thread https://forum.vbulletin.com/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/3989058-post-previews-in-find-latest-posts-show-hidden-content-instead "It only...
Forum: vB4 General Discussions 06 Sep 2019, 16:38
Replies: 4
Views: 60
Posted By Dave
vBulletin doesn't have any setting to make it...

vBulletin doesn't have any setting to make it show that. It's most likely caused by a plugin, probably related to thanking/liking a post to see the contents. Maybe the "DragonByte Tech: Advanced Post...
Forum: vBulletin 4.x Add-ons 05 Sep 2019, 15:46
Replies: 413
Views: 95,769
Posted By Dave
Seems legit. /includes/class_pt_issuelist.php was...

Seems legit. /includes/class_pt_issuelist.php was updated to fix a XSS security issue.
If you use a tool such as TortoiseSVN, you can easily see the commit history.

https://i.imgur.com/wYcRPkE.png
Forum: vB5 Programming Discussions 04 Sep 2019, 00:44
Replies: 20
Views: 282
Posted By Dave
It's not needed as far as I can see. Now...

It's not needed as far as I can see. Now regarding the username... I'm not entirely sure but it seems that the username is not updated by making use of the save method in the user API. Not sure at...
Forum: vB5 Programming Discussions 04 Sep 2019, 00:13
Replies: 20
Views: 282
Posted By Dave
Does the new password save properly? You might...

Does the new password save properly? You might have to set the 'password' key to the new password in the array.

As for showing errors, just iterate over the errors array if it's set.
Something...
Forum: vB5 Programming Discussions 03 Sep 2019, 22:36
Replies: 20
Views: 282
Posted By Dave
var_dump($response); to see what that is showing....

var_dump($response); to see what that is showing. If nothing happens, dump the variables one by one to make sure everything is still working as expected.
Forum: vB5 Programming Discussions 02 Sep 2019, 17:01
Replies: 5
Views: 135
Posted By Dave
Use the official vBulletin API....

Use the official vBulletin API. /core/vb/api/user.php has a logout method.

I believe something like:
$api = Api_InterfaceAbstract::instance();
$api->callApi('user', 'logout');
Forum: vB5 Programming Discussions 02 Sep 2019, 14:09
Replies: 1
Views: 26
Posted By Dave
Can you be a bit more specific? What do you mean...

Can you be a bit more specific? What do you mean by "headlines"?
Forum: vB5 Programming Discussions 02 Sep 2019, 12:10
Replies: 20
Views: 282
Posted By Dave
You must pass 'acnt_settings' => true to the...

You must pass 'acnt_settings' => true to the 'extra' array. Based on the code that allows you to edit the email/password as a regular user and also includes current password verification.

You need...
Forum: vB5 General Discussions 02 Sep 2019, 12:00
Replies: 1
Views: 57
Posted By Dave
You have to be a bit more specific. If you want...

You have to be a bit more specific.
If you want something like they have on their homepage, I have not seen such mod.
Forum: vB5 Programming Discussions 01 Sep 2019, 20:41
Replies: 2
Views: 59
Posted By Dave
The vB_User class at /core/vb/api/user.php has a...

The vB_User class at /core/vb/api/user.php has a fetchUserinfo method that will return the userinfo of the current session.

I can't test if this works but something like:
$userInfo =...
Forum: Style and Graphics Requests (Unpaid) 01 Sep 2019, 17:43
Replies: 7
General Request i want this style
Views: 210
Posted By Dave
Apparently it was a Joomla skin that they...

Apparently it was a Joomla skin that they (vbskin.net) converted to vBulletin without the permission of the original owner and therefore it had to be deleted. You can find the original Joomla skin...
Forum: vB4 General Discussions 01 Sep 2019, 15:55
Replies: 5
Views: 127
Posted By Dave
See if it also happens on the default style and...

See if it also happens on the default style and then also with all plugins disabled. It's probably either a template modification or plugin/JavaScript causing that.
Forum: Forum and Server Management 30 Aug 2019, 15:53
Replies: 2
Views: 172
Posted By Dave
Around line 548, look for $output .= " <div...

Around line 548, look for
$output .= "
<div id=\"copyright\">$vbphrase[vbulletin_copyright]</div>
</div>
</body>
</html>";

and replace with

$output .= "
Showing results 1 to 25 of 150

 

New To Site? Need Help?

All times are GMT. The time now is 10:07.

Layout Options | Width: Wide Color: