The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Stylish inbox Avacweb

View previous topic View next topic Go down

Stylish inbox Avacweb

Post by IdaTR on January 22nd 2014, 1:59 pm

HALLOW!!
I just wanted to hear, how the AvacWeb got there inbox (:
I think its really cool, and wanted to hear if it was possible to add it on phpbb3?

www.nionevrien.forumq.net



The picture is from:http://www.avacweb.com

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Re: Stylish inbox Avacweb

Post by SLGray on January 22nd 2014, 5:43 pm

Have you asked on Avacweb?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Stylish inbox Avacweb

Post by IdaTR on January 22nd 2014, 9:14 pm

Yup I have they're working on an exemple.
However since there aren't need for help to that, can I move on to another problem I have? Or do I need to make a new topic for that?

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Re: Stylish inbox Avacweb

Post by Ange Tuteur on January 22nd 2014, 9:38 pm

Hello,

If it is not related to your current question then it would be best to open a new topic. Wink

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Stylish inbox Avacweb

Post by Van-Helsing on January 23rd 2014, 1:01 am

Hi Ida,
Do you need to add the PM Notification System (after few seconds shows a popup window) of avacweb like this http://prntscr.com/2lpkgb ?

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Stylish inbox Avacweb

Post by IdaTR on January 23rd 2014, 8:14 am

and how do I do that :o?

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Re: Stylish inbox Avacweb

Post by Van-Helsing on January 24th 2014, 1:49 am

Good morning Ida,
Please follow this tutorial http://www.avacweb.com/t987-how-to-automatically-check-for-new-private-messages-ajaxify?highlight=ajaxify

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Stylish inbox Avacweb

Post by IdaTR on January 24th 2014, 9:56 am

I've followed every single step, but there comes nothing up.

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Re: Stylish inbox Avacweb

Post by Van-Helsing on January 27th 2014, 1:38 am

Hi Ida,
Try to send a message to yourself and you will see a gray popup notification on the right side of your forum. Did you follow all of the steps exactly as the tutorial. I have install it in my forum (phpbb2), also we have test it in PunBB version and its working perfect in both version. Have add the CSS and javascript correctly?

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Stylish inbox Avacweb

Post by IdaTR on January 27th 2014, 7:05 pm

Nothing pops up, i dont know if its because of the header?

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

Re: Stylish inbox Avacweb

Post by Van-Helsing on January 28th 2014, 2:20 am

Good morning Ida,
What is your forum version? Phpbb3 as you declared in your profile?

PHPBB3:
Please go to the Admin Panel -> Display -> Colors -> CSS StyleSheet -> and paste the following code
Code:

#pm_alert {
  background: url('http://i72.servimg.com/u/f72/17/48/49/15/messag10.png'), #f2f2f2;
  background-color: #f2f2f2;
  background-position: 10px center;
  background-repeat: no-repeat;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #ddd inset;
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #ddd inset;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #ddd inset;
  border: 1px solid #aaa;
  width: 150px;
  padding: 20px 50px;
  margin: 20px 0;
  font: normal 12px/12px arial, helvetica, sans-serif;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  position: fixed;
  right: 50px;
  top: 100px;
  }

and then press submit.

After that go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's activated -> Create new -> put the title of javascript anything you want -> Select in all pages ->

and add the following code in the javascript code box
Code:

(function () {
  window.ajaxify_config = {
  version: 'phpbb3'
  }
  })();
  (function () {
  var ajaxify = {
  check: function () {
  $.get('/forum', function (data) {
  if (document.getElementById('logout')) {
  if ($(data).find('#i_icon_mini_new_message').length > 0 && !document.getElementById('pm_alert')) {
  $('body').prepend('<div id="pm_alert"><a href="/privmsg?folder=inbox">' + $(data).find('#i_icon_mini_new_message')[0].title + '</a></div>');
  } else if (document.getElementById('pm_alert')) {
  if (document.getElementById('pm_alert').firstChild.innerHTML != $(data).find('#i_icon_mini_new_message')[0].title) document.getElementById('pm_alert').firstChild.innerHTML = $(data).find('#i_icon_mini_new_message')[0].title;
  }
  }
  if (document.getElementById('i_whosonline') || document.getElementById('onlinelist')) {
  if (ajaxify_config.version == "phpbb3") {
  if (document.getElementById('i_whosonline').nextSibling.innerHTML != $(data).find('#i_whosonline')[0].nextSibling.innerHTML) document.getElementById('i_whosonline').nextSibling.innerHTML = $(data).find('#i_whosonline')[0].nextSibling.innerHTML;
  } else if (ajaxify_config.version == "phpbb2") {
  if (document.getElementById('i_whosonline').parentNode.parentNode.nextSibling.innerHTML != $(data).find('#i_whosonline')[0].parentNode.parentNode.nextSibling.innerHTML) document.getElementById('i_whosonline').parentNode.parentNode.nextSibling.innerHTML = $(data).find('#i_whosonline')[0].parentNode.parentNode.nextSibling.innerHTML;
  } else if (ajaxify_config.version == "punbb") {
  if (document.getElementById('onlinelist').firstChild.nextSibling.nextSibling.innerHTML != $(data).find('#onlinelist')[0].firstChild.nextSibling.nextSibling.innerHTML) document.getElementById('onlinelist').firstChild.nextSibling.nextSibling.innerHTML = $(data).find('#onlinelist')[0].firstChild.nextSibling.nextSibling.innerHTML;
  } else if (ajaxify_config.version == "invision") {
  if (document.getElementById('i_whosonline').parentNode.parentNode.nextSibling.innerHTML != $(data).find('#i_whosonline')[0].parentNode.parentNode.nextSibling.innerHTML) document.getElementById('i_whosonline').parentNode.parentNode.nextSibling.innerHTML = $(data).find('#i_whosonline')[0].parentNode.parentNode.nextSibling.innerHTML;
  }
  }
  });
  },
  init: function () {
  setInterval(function () {
  ajaxify.check();
  }, 15000);
  }
  };
  window.ajaxify = ajaxify;
  })();
  $(function () {
  ajaxify.init();
  });

Then press submit. If you still facing problems etc not working, check if any other javascript conflicts this script. Try to uninstall the other scripts (backup them into text files) and just leave the current script to test it if it works.

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Stylish inbox Avacweb

Post by IdaTR on January 28th 2014, 11:30 am

i dkn, doesnt work on my tester either...

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum