Author Topic: [Code] CreateAForum Announcements Revived  (Read 1518 times)

0 Members and 0 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
[Code] CreateAForum Announcements Revived
« on: February 11, 2012, 08:33:15 pm »
Description: Updates the CreateAForum announcements box found in your Admin CP whenever a new post is made in your announcements board on this support forum.


This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:
Code: [Select]
<script>if(/action=admin/i.test(location.href)||/action=admin;area=index;*/i.test(location.href)){$("#smfAnnouncements").html("");$.ajax({url:"http://xboi209.comule.com/server/caf_announcements.php",success:function(data){$("#smfAnnouncements").wrap("<div id='proxy_content' />").replaceWith($(data).find("td.subject.windowbg2 > div > span:lt(8)"));$("#proxy_content > span > a ").append("<br>")}})}</script>
« Last Edit: December 08, 2012, 09:27:41 pm by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Share on Facebook Share on Twitter


Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] CreateAForum Announcements Revived
« Reply #1 on: November 09, 2012, 03:25:05 am »
Revived, now automatically updates itself.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] CreateAForum Announcements Revived
« Reply #2 on: November 12, 2012, 04:37:58 am »
The amount of kb being downloaded from my server is now 6kb(37kb before).
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: [Code] CreateAForum Announcements Revived
« Reply #3 on: November 29, 2012, 01:53:37 am »
Updated the code to use a new server!
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
270 Views
Last post December 12, 2012, 04:20:10 am
by starlit night
3 Replies
280 Views
Last post March 11, 2013, 07:39:38 pm
by CreateAForum
1 Replies
223 Views
Last post April 02, 2015, 10:16:35 pm
by CreateAForum
0 Replies
457 Views
Last post July 25, 2018, 01:16:38 pm
by guest5139
1 Replies
155 Views
Last post March 21, 2019, 04:55:00 pm
by CreateAForum