TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 426
  • Total: 426

[Block] WoW Login Information Block

Started by Karma, January 29, 2009, 05:12:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Inny

It shows everything, its different for EU and US.


Karma

#11
Quote from: mekon on April 10, 2009, 12:21:45 PM
Great block, but I am receiving the following code errors in the error log once the block is enabled.

2: Missing argument 2 for db_query(), called in /home/nomekcou/public_html/tsbguild/Sources/Load.php(1735) : eval()'d code(48) : eval()'d code on line 235 and defined
File: home/********/public_html/tsbguild/Sources/Subs.php
Line: 238

I don't expect it to make a difference, but humour me anyway ;o).. I've updated (Rev 0.4.1) to include the (supposedly optional) __FILE__ and __LINE__ parameters to db_query.

If this doesn't fix it, what version of SMF are you running? I'm running the block on 1.1.8, personally.

Quote from: Kazie on April 13, 2009, 06:50:03 PM
How come it doesn't show all the breaking news?
Have you set the url to the correct localised site? If so, which site are you using, and if the message is not still currently displayed, would it be possible for you (assuming cache=2) to dig through the smf_jlk_srvalert table for the record, and provide me the original and parsed field values? I'm interested if something is causing text to be truncated =)

e:
0.4.2 - Anything less than 12 chars in length will be considered not an alert.

odsign

#12
Hello Karma,

I'm getting this error in my forum error log:

8: Undefined variable: dsa_sysdate (line 83)

shouldn't it be dsa_sdate ?

I'm using your first code.

edit: changing $dsa_sysdate to $dsa_sdate fixed the problem.

Karma

Quote from: odsign on June 11, 2009, 04:16:28 PMshouldn't it be dsa_sdate ?

I'm using your first code.

edit: changing $dsa_sysdate to $dsa_sdate fixed the problem.
You're probably right ;o). I've modified the OP to reflect your change - Thanks :o)

I haven't been playing WoW for a while, my old guild has disbanded, so the only way I'm going to know if there's a problem is if someone mentions it here ;o)

beetroot

#14
hey there Karma,
Thank you for the great Block, but I can not seem to get it to work for me, All I get is an empty PHP block at the top of my forum.

I play on the Wow EU servers (English)

All I have done is "copy/paste" your first code into a PHP box and then replaced

Quote'url' => 'http://status.wow-europe.com/en/alert',

with

Quote'url' => 'http://status.wow-europe.com/en/alert',

is this all I needed to do? Sorry, I really dont know any coding and am beginning to wonder why I agreed to run the guild forum..

Thanks for any help,



beetroot

hi there,

I have gotten it to work, not sure how, but its working like a charm now!!!

Thank you

mOOwalker

Hi,

I don't know if this block is supposed to still work, but I installed it and I get the following error

QuoteFatal error: Call to undefined function addslashes__recursive() in /home/*******/domains/infinite-guild.eu/public_html/Sources/Load.php(2105) : eval()'d code(112) : eval()'d code on line 193

Line 193 of the block is
Quoteaddslashes__recursive($dsa['original']) .'\', \''.

So, I am guessing this function is missing.

I am using SMF 2.0RC3 and TinyPortal RC1

Thanks,
mOOwalker

IchBin

Yea it looks like that function is missing. Having no idea what it did, I don't think you'll get this block to work.

Karma

Quote from: IchBin on October 01, 2010, 04:26:20 PM
Yea it looks like that function is missing. Having no idea what it did, I don't think you'll get this block to work.
Seems my forum account had disappeared, so I wasn't getting notified of replies.. Oops!

That appears to have been a function of SMF 1.1.x that's removed in 2.x, I've just copy/pasted the block into a vanilla SMF 1.1.12/TP 1.0RC1, and had no issues.
http://support.simplemachines.org/function_db/index.php?action=view_function;id=358

If there's a function that's acceptable to both SMF 1.1.x and 2.x, I'm happy to replace it ;o)

This website is proudly hosted on Crocweb Cloud Website Hosting.