The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Yes it looks like the div id changes based off of the status. I am working on a solution.
--------------- Added [DATE]1421207122[/DATE] at [TIME]1421207122[/TIME] --------------- Ok I fixed the PSN issue but can't fully test it until the network changes status. It should work though. I had to get the contents of that status a little differently so by doing so it grabs the whole line so I had to then use str_replace to prevent PSN Status from showing twice. I also add in some basic CSS, you can change it to whatever fits your site, and last I made the statuses links to the appropriate pages. PHP Code:
|
#22
|
||||
|
||||
Isn't it supposed to show "PSN Status: OFFLINE as well as "PSN Status: Heavy Network Traffic " like in the shot below on the playstation site?
|
#23
|
|||
|
|||
Quote:
--------------- Added [DATE]1421220662[/DATE] at [TIME]1421220662[/TIME] --------------- How should these be formatted? PSN Status: OFFLINE Heavy Network Traffic ? |
#24
|
||||
|
||||
Quote:
Yes I think it should show "Offline" as well as "Heavy Network Traffic" and formatted like your example above: PSN Status: OFFLINE Heavy Network Traffic --------------- Added [DATE]1421257339[/DATE] at [TIME]1421257339[/TIME] --------------- I got the following a few times and some of my members got it as well: Warning: file_get_contents(http://support.us.playstation.com/ap...tail/a_id/237/) [function.file-get-contents]: failed to open stream: HTTP request failed! in[path]/includes/block/html.php(95) : eval()'d code on line 2 |
#25
|
|||
|
|||
I agree it should show "Offline" if indeed it is offline. May not need the "Heavy Network Traffic" if it is Offline however but it is livable.
|
Благодарность от: | ||
CAG CheechDogg |
#26
|
|||
|
|||
Since it currently shows PSN Status: Online in both spots it would be weird for it to show "Online" twice. Would it be ok if I just pulled from the one that shows Online and Offline?
I will fix that php error by making sure file_get_contents isset. |
Благодарность от: | ||
CAG CheechDogg |
#27
|
|||
|
|||
Yes absolutely. We really only need to know if it is online or offline anyway. The other is just fluff.
|
#28
|
|||
|
|||
Ok I can't check if it isset because that isn't the problem. That error just means for whatever reason during that time the ink wouldn't load. There is nothing we can do about the link not loading but we can suppress the warning so it doesn't show. If the link doesn't load then the status should just be left blank. The code below fixes 2 things. First it grabs the PSN status you guys want and 2nd it surpresses the error if it can't load the URL.
PHP Code:
|
#29
|
||||
|
||||
Ok that will work ... I will let you know if any errors show up with this change .. but so far everything looks good ... THANK YOU !!
|
#30
|
|||
|
|||
One thing I would do is add the text-transform CSS to "xboxstatus a" and "psnstatus a"
It looks a little odd with PSN being all uppercase and xbox being a mix of capitalize and lowercase http://www.w3schools.com/cssref/pr_t...-transform.asp |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|