Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Cyberkid - maaliskuu 11, 2014, 04:52:25 AP

Otsikko: Template problem on wireless.template please come in and help
Kirjoitti: Cyberkid - maaliskuu 11, 2014, 04:52:25 AP
Please am having problem in adding functions to wireless.template example the function kick_guest its present on the nowap since its not in wireless the template automatically uses that of nowap view, how will i create that of wireless.template :( PLEASE HELP OUT


<Edited to remove caps-locked title>>
Otsikko: Re: Template problem on wireless.template please come in and help
Kirjoitti: kat - maaliskuu 11, 2014, 07:49:47 AP
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSMF%2Fwelcome.gif&hash=64d0bdab41bf056c5af638442124afd2cc58a5fb)

I edited the topic title, because caps-locked stuff is considered to be extremely rude, in a forum. :)

As for your problem, I'm afraid I'm not getting what you're saying. Possibly, because you don't use punctuation, which makes things tricky to understand, for us old uns. ;)
Otsikko: Re: Template problem on wireless.template please come in and help
Kirjoitti: Cyberkid - maaliskuu 11, 2014, 08:55:28 AP
Lainaus käyttäjältä: K@ - maaliskuu 11, 2014, 07:49:47 AP
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSMF%2Fwelcome.gif&hash=64d0bdab41bf056c5af638442124afd2cc58a5fb)

I edited the topic title, because caps-locked stuff is considered to be extremely rude, in a forum. :)

As for your problem, I'm afraid I'm not getting what you're saying. Possibly, because you don't use punctuation, which makes things tricky to understand, for us old uns. ;)
for nowap which is full version you know there's display.template.php and in wap2 version there is function template_wap2_display there's a function on the full version which is not on wap2 version.....is there anyway i can create a funtion for wap2 for that function?
Otsikko: Re: Template problem on wireless.template please come in and help
Kirjoitti: margarett - maaliskuu 11, 2014, 05:12:52 IP
Wap mode has some differences, it's not *just* add the display, there is some data not loaded in Sources.

What exactly do you want to add?
Otsikko: Re: Template problem on wireless.template please come in and help
Kirjoitti: NanoSector - maaliskuu 11, 2014, 05:48:14 IP
You know barely anyone uses WAP anymore these days as phones have become powerful enough to render the regular forum or a fancy mobile theme?

Sent from my phone using the regular mode.
Otsikko: Re: Template problem on wireless.template please come in and help
Kirjoitti: Cyberkid - maaliskuu 12, 2014, 02:27:15 AP
Lainaus käyttäjältä: margarett - maaliskuu 11, 2014, 05:12:52 IP
Wap mode has some differences, it's not *just* add the display, there is some data not loaded in Sources.

What exactly do you want to add?
i want to edit function template kick guest for wap2
Otsikko: Re: Template problem on wireless.template please come in and help
Kirjoitti: margarett - maaliskuu 12, 2014, 05:43:11 AP
I have no idea what this function is... Can you printscreen the "normal" function you see?