Advertise Here

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - davidjtsteele

Pages: [1] 2
1
JavaScript / Hey {$username), you have x messages, x are new.
« on: July 18, 2014, 01:41:42 pm »
I've asked about this a while ago. What's the code to replace when someone logs in:

Hello {$username),

with:

Hey {$username), you have x messages, x are new.

x or whatever they use will input how many messages they have. The x that inputs to the number messages they have will take you to your messages like old SMF.

Would anyone know?

2
JavaScript / Re: Javascript?
« on: July 18, 2014, 11:18:09 am »
What would you put around the code so it works?

3
JavaScript / Javascript?
« on: July 17, 2014, 06:33:39 pm »
Would this go on the footer or header of my board?

Code: [Select]
function detectTapatalk() {
if (document.cookie.indexOf("tapatalk_redirect4=false") < 0) {
if (!navigator.userAgent.match(/Opera/i)) {

if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
setTapatalkCookies();
if (confirm("This forum has an app for iPhone and iPod Touch! Click OK to learn more about Tapatalk."))
window.location = "http://itunes.apple.com/us/app/tapatalk-forum-app/id307880732?mt=8";
} else if(navigator.userAgent.match(/iPad/i)) {
setTapatalkCookies();
if (confirm("This forum has an app for iPad! Click OK to learn more about Tapatalk."))
window.location = "http://itunes.apple.com/us/app/tapatalk-hd-for-ipad/id481579541?mt=8";
} else if(navigator.userAgent.match(/Kindle Fire/i)) {
setTapatalkCookies();
if (confirm("This forum has an app for Kindle Fire! Click OK to learn more about Tapatalk."))
window.location = "http://www.amazon.com/gp/mas/dl/android?p=com.quoord.tapatalkpro.activity";
} else if(navigator.userAgent.match(/Android/i)) {
setTapatalkCookies();
if (confirm("This forum has an app for Android. Click OK to learn more about Tapatalk."))
window.location = "market://details?id=com.quoord.tapatalkpro.activity";
} else if(navigator.userAgent.match(/BlackBerry/i)) {
setTapatalkCookies();
if (confirm("This forum has an app for BlackBerry! Click OK to learn more about Tapatalk."))  
window.location = "http://appworld.blackberry.com/webstore/content/46654?lang=en";
} else if(window.chrome) {
   
    if ((typeof(tapatalkdir)) == 'undefined' ) var tapatalkdir = 'mobiquo';
    else if(tapatalkdir == '' || tapatalkdir == null) tapatalkdir = 'mobiquo';
   
setTapatalkCookies();
var script1 = document.createElement('script');
var script2;
script1.setAttribute('src',tapatalkdir+'/tapatalkdetect/jquery-1.7.min.js');
script1.setAttribute('type','text/javascript');
var loaded=false;
var loaded2=false;
var loaded3=false;
var loadFunction3 = function() {
var notice = '<div class="notice">'
+ '<div class="notice-body">'
+ '<p>Download <a href="https://chrome.google.com/webstore/detail/plfhcjljnfjpfcbjpgnflfofmahljkjj" target="_new">Tapatalk Notifier</a> for Chrome to keep notified of new Private Messages from this forum. <br /></p>'
+ '</div>'
+ '</div>';
$( notice ).purr(
{
usingTransparentPNG: true,
removeTimer:12000
}
);
}

var loadFunction = function() {

var script2=document.createElement("link");
script2.setAttribute("rel", "stylesheet");
script2.setAttribute("type", "text/css");
script2.setAttribute("href", tapatalkdir+'/tapatalkdetect/notice.css');
script2.media='screen';
 
document.getElementsByTagName("head")[0].appendChild(script2);
var script3 = document.createElement('script');
script3.setAttribute('src',tapatalkdir+'/tapatalkdetect/jquery.purr.js');
script3.setAttribute('type','text/javascript');
script3.onload=loadFunction3;
document.getElementsByTagName("head")[0].appendChild(script3);

};
script1.onload = loadFunction;
document.getElementsByTagName("head")[0].appendChild(script1);
}
        }
    }
}

function setTapatalkCookies() {
var date = new Date();
var days = 90;
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+ date.toGMTString();
var domain = "; path=/";
document.cookie = "tapatalk_redirect4=false" + expires + domain;
}

detectTapatalk();

4
General Support / Ban Button
« on: July 06, 2014, 11:19:04 am »
Could someone please tell me what I need to do so I have this

http://custom.simplemachines.org/mods/index.php?mod=1962

Could you work on this I know it's a mod but could you generate a header and footer for this?

5
General Support / Testing
« on: July 01, 2014, 09:05:01 pm »
Hello everyone,

I am wondering if I can change my board color on my forums. So as example I have a category called "Information" and the board of it calls "Latest news". Is there any way to change "Latest news" board color? Now it has the color white but can I change it to blue like "Information" has?

I am sorry if you don't understand this clearly but thanks for your help anyway.

6
General Support / Prune Forum & Restore
« on: June 20, 2014, 07:30:19 pm »
Is there any way to prune the boards, then restore back the posts?

7
General Support / Re: Restoring Cerberus
« on: April 17, 2014, 05:50:50 pm »
What are the images for restoring the theme?

8
General Support / Restoring Cerberus
« on: April 17, 2014, 05:37:39 pm »
Hi Friends,

Were just trying to restore the theme Cerberus.

How do you do it? What is required in the Headers & Footers?

What is all included?

9
General Discussion / Re: Hey admin, you have 0 messages, 0 are new
« on: March 29, 2014, 06:35:42 pm »
How do I get javascript?

10
General Discussion / Hey admin, you have 0 messages, 0 are new
« on: March 29, 2014, 05:28:20 pm »
Is there anyway I can change it from:

Hello admin
Show unread posts since last visit.
Show new replies to your posts.

to:

Hey admin
you have 0 messages 0 are new
Show unread posts since last visit.
Show new replies to your posts.

11
I want to create a banner for the header. Like some forums do.

12
Is there anyway to do this?

13
Advertise Your Board / Users Chatroom
« on: December 10, 2013, 08:08:42 pm »
This is my new forum. This forum is a chatroom, I will be happy to see you join!

When someone starts a topic, stay on topic. No derailing any threads whatsoever.

Thank you.

David

Forum Url: http://www.smfcentral.com/forums/userschatoom/index.php

14
General Support / Re: sign above pic change
« on: December 10, 2013, 12:12:05 pm »
The servers I'm using have been going crazy for a while now.

15
SMF For Free Codes and Support / Adding Your Own Smileys
« on: December 10, 2013, 12:10:06 pm »
Is this possible? If you how?

Pages: [1] 2