L
lucky4life
pls how can i add facebook like,share button and recent post to smf wap2 forum
<?php
echo "<div class=\"wapmenu\">\n";
echo "<center><a href=\"https://forum.3ptechies.com/index.php?wap2;wap2\">home</a> | <a href=\"https://forum.3ptechies.com/profile/?area=forumprofile;wap2\">Edit Profile</a> | <a href=\"https://forum.3ptechies.com/profile/?area=accountt;wap2\">Edit Account</a>\n</center>";
echo "</div>\n";
?>
<div class="wapmenu">
<center><a href="http://www.blog.obasimvilla.com/">Blog</a> | <a href="http://m.facebook.com/obasimvilla">Facebook</a> | <a href="http://www.twitter.com/obasimvilla">Twitter</a></center>
</div>
<center> (c) 2012 obasimvillla.com Forum! Refining Computer "ict" Technology For the Younger Generation! All rights reserved.</center>
}
function template_wap2_boardindex()
include('footerlinks.php');
echo'
<center>', $txt['footer'], '</center></div>
include('footerlinks.php');
access denied upload it elsewhereR4SH33D said:bro [urgent one but it's not my current forum ]pls can you help me to edit this index.php to automatically redirect opera to wap2
Edit index .php file by searching for this
code:
if (isset($_SERVER['HTTP_ACCEPT']) &&
strpos($_SERVER['HTTP_ACCEPT'],
'application/vnd.wap.xhtml+xml') !==
false)
And replacing with this:
if ((isset($_SERVER['HTTP_ACCEPT']) &&
strpos($_SERVER['HTTP_ACCEPT'],
'application/vnd.wap.xhtml+xml') !==
false) || isset($_SERVER
['HTTP_X_OPERAMINI_PHONE_UA']))
[it's wapmod 1.4, all other process has been done it's this only last step]
i'm suffering all this bcos am on mobile
pls help
the index.php is HERE
am unable to attach it
or you can use your own idea entirely
thanks
your upload is an empty index file . login to your cpanel and download the index file then use mediafire.com to upload itR4SH33D said:
I'm online but couldn't see it can you resend it?R4SH33D said:@obasi i've sent it to uer mail
doneR4SH33D said:i've resend it
mean to say I 've done itR4SH33D said:
that will be a brilliant idea saving one from using "quote] at leastR4SH33D said:obasi do you want to add quote to this your wap2
't will be goodR4SH33D said:i did not understand by 'saving one'
is it good or not