Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 123
Search took 0.00 seconds.
Search: Posts Made By: JamesAB
Forum: vB3 General Discussions 09-02-2023, 08:39 PM
Replies: 1
Views: 766
Posted By JamesAB
Server Load variable?

i know this is an old version of this software.
Is there a variable I can use (hopefully in the Scheduled Task Manager) to access the server load number(s) like seen in the AdminCP?
Thanks,
James
Forum: vB3 Programming Discussions 01-10-2017, 05:15 PM
Replies: 2
Views: 769
Posted By JamesAB
Can banned IP addresses still view forums?

Can visitors coming from banned IP addresses still view the forums as a "guest" without logging in?

Do banned IP addresses in the AdminCP only affect logged in users & new registrations? Or are...
Forum: vB3 Programming Discussions 01-09-2017, 03:20 PM
Replies: 0
Views: 630
Posted By JamesAB
Difference between STANDARD_ERROR & STANDARD_ERROR_LITE ?

I'm trying to figure out when STANDARD_ERROR is called versus STANDARD_ERROR_LITE

I've only seen my forum show STANDARD_ERROR pages.
Is it related to some vBulletin settings?
Or is...
Forum: vB3 Programming Discussions 01-08-2017, 04:16 AM
Replies: 2
Views: 777
Posted By JamesAB
Replacement variables question

Do replacement variables set in individual styles change the text in phrases used for the body of e-mails sent from vBulletin?

Or do replacement variables only get implemented on web pages served...
Forum: vB4 Design and Graphics Discussions 01-07-2017, 02:18 PM
Replies: 2
Views: 753
Posted By JamesAB
It seems to be related to the contents of...

It seems to be related to the contents of headinclude

By converting back to the default from the "Default Style" it makes the menus work again.

I'll try to track down the differences now.
...
Forum: vB4 Design and Graphics Discussions 01-07-2017, 01:11 PM
Replies: 2
Views: 753
Posted By JamesAB
Navbar dropdown menus stopped working in chrome & IE

I have a bizarre problem that is probably template related.

The dropdown menus in the navbar stopped working in chrome & IE, however they still work in Firefox.

If I switch from my styles to...
Forum: vB3 Programming Discussions 01-06-2017, 03:12 PM
Replies: 3
Views: 721
Posted By JamesAB
Thanks for the advice? What would be the...

Thanks for the advice?

What would be the best hook location to try to do something similar via PHP?

I need to compare variables to determine if the user is a guest and also what script/page...
Forum: vB3 Programming Discussions 01-06-2017, 02:51 PM
Replies: 3
Views: 721
Posted By JamesAB
Is it possible to use SERVER variables in templates?

I'm looking to do something like this PHP code:
if ($_SERVER['SERVER_PORT'] != 443) {
header("HTTP/1.1 301 Moved Permanently");
header("Location:...
Forum: vB3 Programming Discussions 05-28-2016, 11:00 AM
Replies: 5
Views: 1,647
Posted By JamesAB
Thanks. That's a good start, however Twitter has...

Thanks. That's a good start, however Twitter has changed their API so now I need to make some adjustments.

I guess fist I need to find a plugin location where I can grab the thread title and post...
Forum: vB3 Programming Discussions 05-26-2016, 06:39 PM
Replies: 5
Views: 1,647
Posted By JamesAB
Tweet button for every post?

Has anyone done a simple plugin or mod to add a tweet button for every post? Basically a button that open a new window so user's can tweet that post's URL and tread title from their own twitter...
Forum: vBulletin 3 Articles 05-15-2016, 06:42 PM
Replies: 84
Views: 44,083
Posted By JamesAB
In a PHP script, I'm already using: TIMENOW...

In a PHP script, I'm already using:

TIMENOW - $vbulletin->userinfo['joindate'] > 31104000

Is joindate avaialable to use as a template conditional?

I want to put this in a template header
Forum: vB3 Design and Graphics Discussions 10-17-2015, 11:38 AM
Replies: 2
Views: 1,643
Posted By JamesAB
Thanks Dave. I didn't know we were allowed to...

Thanks Dave.
I didn't know we were allowed to use variables like TIMENOW in templates. Nor did I know we could assign new variable in templates.

I'll test it out.

Thanks for your help.
Forum: vB3 Design and Graphics Discussions 10-16-2015, 07:37 PM
Replies: 2
Views: 1,643
Posted By JamesAB
Template conditional based on registration date?

I'd like to add a template conditional that would be based on how long ago a member registered. Basically, if they registered more than 2 months ago - show something unique.

Yet I can't wrap my...
Forum: vB3 Programming Discussions 08-17-2015, 10:08 PM
Replies: 2
Views: 979
Posted By JamesAB
I only experimented a little on this so far, but...

I only experimented a little on this so far, but I did find that if I use the "async" keyword with vbulletin_global.js, the "Manage Attachments" button wasn't showing up. So I guess that ones out for...
Forum: vB3 Programming Discussions 08-17-2015, 03:23 PM
Replies: 2
Views: 979
Posted By JamesAB
Remove Render-Blocking JavaScript ?

I see that Google PageSpeed Insights (https://developers.google.com/speed/pagespeed/insights/) complains about "render-blocking JavaScript". For example on one forum's index page it doesn't like:
...
Forum: vB3 Programming Discussions 08-17-2015, 03:12 PM
Replies: 8
Views: 2,412
Posted By JamesAB
As far as Firefox is concerned, it appears that...

As far as Firefox is concerned, it appears that this was a bug in Firefox 39..
I just upgraded to Firefox 40.0.2 and the issue no longer exists.

I'll try testing my IE fix on a live forum next.
...
Forum: vB3 General Discussions 08-15-2015, 09:43 AM
Replies: 2
Views: 562
Posted By JamesAB
Don't forget to update your software license...

Don't forget to update your software license information with the new domain over at vbulletin.com
Forum: vB3 Programming Discussions 08-13-2015, 09:34 PM
Replies: 8
Views: 2,412
Posted By JamesAB
Thanks for the info TheLastSuperman. ...

Thanks for the info TheLastSuperman.

However, in this case it is a software issue not a server issue. I'm aware of the compatibility mode work around, but that isn't a very elegant solution. I...
Forum: vB3 Programming Discussions 08-13-2015, 05:26 PM
Replies: 8
Views: 2,412
Posted By JamesAB
Lynne, Can you do me a favor and confirm that...

Lynne,
Can you do me a favor and confirm that this isn't a problem with vB4 and/or vB5 when browsing with Firefox 39?


Thanks for the tip Stratis. I'll try to take a look at what is different in...
Forum: vB3 Programming Discussions 08-13-2015, 01:03 PM
Replies: 8
Views: 2,412
Posted By JamesAB
Does anyone have any ideas or clues how to fix...

Does anyone have any ideas or clues how to fix this issue?

It's bizarre. In Firefox 39, if you open a photo attachment and right-click over the image and choose "Save Image as..." you get...
Forum: vB3 Programming Discussions 08-01-2015, 08:33 PM
Replies: 1
Views: 745
Posted By JamesAB
I found that the...

I found that the member_profileblock_fetch_unwrapped hook might work because I can set the variable there. The only problem is that this hook is called multiple times for a single page load and my...
Forum: vB3 Programming Discussions 07-27-2015, 02:31 PM
Replies: 1
Views: 745
Posted By JamesAB
Hook to put variable in memberinfo_block_statistics template?

I'm trying to add an additional block to the memberinfo_block_statistics template.

However I can't find a hook that will save the variable.

I thought member_build_blocks_start would work, but...
Forum: vB3 Programming Discussions 07-15-2015, 01:50 AM
Replies: 8
Views: 2,412
Posted By JamesAB
You can see this problem right here on...

You can see this problem right here on vbulletin.org

Just click on on any image attachment that was uploaded here and then try to save the attachment. Rather than seeing the image's actual file...
Forum: vB3 Programming Discussions 07-13-2015, 11:32 PM
Replies: 8
Views: 2,412
Posted By JamesAB
attachment.php header problem

This isn't for a modification. This is a problem I'm having with the stock VB 3.8.7 code.

I have attachments stored in the file system and I'm not using the lightbox feature. When a user clicks on...
Forum: vB3 Programming Discussions 06-12-2015, 12:56 PM
Replies: 2
Views: 849
Posted By JamesAB
Benefits from placing hook code in external files?

Is there any benefit from putting hook code in an external file?

I see some developers just put something like this in the Plugin Manager hook location:
require(DIR ....
Showing results 1 to 25 of 123

 
Forum Jump

All times are GMT. The time now is 07:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01653 seconds
  • Memory Usage 2,049KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (3)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete