Author Topic: [ATTN CAF] Can't use Back Slashes in Headers/Footers  (Read 773 times)

0 Members and 0 Guests are viewing this topic.

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile
[ATTN CAF] Can't use Back Slashes in Headers/Footers
« on: March 22, 2011, 09:37:56 pm »
For some odd reason, if you use any back slashes in the Headers/Footers, they are automatically removed when you save.

I need the back slashes to save so I can use characters such as "\n" for a new line.


Thanks :)
« Last Edit: March 26, 2011, 01:58:47 am by -A- »
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);

Share on Facebook Share on Twitter


Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile
Re: Can't use Back Slashes in Headers/Footers
« Reply #1 on: March 25, 2011, 01:35:37 pm »
Just a heads up, I would also need the backslashes for Regular Expressions such as this:
Code: [Select]
<style(\b[^>]*)>([\s\S]*?)<\/style>
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);

Offline Alex

  • CAF Support Team
  • Full Member
  • ***
  • Posts: 235
  • Karma: 12
  • Gender: Male
  • Location: Greenville, North Carolina
    • View Profile
Hi I sent a note to CAF about this last night. Hopefully it will be fixed soon.  :)
Terms Of Service

Please don't PM me with support questions

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 6274
  • Karma: 294
    • View Profile
Let me know if it is better now.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile
Sweet, works perfectly, Thanks guys :)
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
533 Views
Last post October 01, 2011, 02:18:30 am
by aIURbliS
4 Replies
689 Views
Last post August 09, 2012, 12:41:04 am
by aIURbliS
19 Replies
3308 Views
Last post August 29, 2013, 11:49:30 pm
by Sir Rob (from Oz)
3 Replies
460 Views
Last post January 03, 2015, 06:06:53 pm
by CreateAForum
4 Replies
1776 Views
Last post October 25, 2019, 02:18:23 am
by Drixxx