Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

Pages: (2) 1 2  ( Go to first unread post ) Add ReplyNew TopicNew Poll

 Replacing Text (Edit Profile)
#
Like this?

CODE
if ($('tr.topic-subheader + tr td.row4 b:contains(No topics were found.)').length) {
  replace_str = $('tr.topic-subheader + tr td.row4 b:contains(No topics were found.)').html().replace(/No topics were found. This is either because there are no topics in this forum, or the topics are older than the current age cut-off./gi, '');
  $('tr.topic-subheader + tr td.row4 b:contains(No topics were found.)').html(replace_str);
}

$('input[value="Amend my profile"]').val('Posted');
PM
#
Yes.

signature
user posted image
#
No joy I'm afraid.
PM
#
CODE
replace_str = $('td[width="20%"] div.button-large').html().replace(/Topic Options/gi, '<a href="http://sunbound.jcink.net/index.php?showtopic=9">Any Questions?</a>');
$('td[width="20%"] div.button-large').html(replace_str);

This needs the if statement.

signature
user posted image
#
Thank you, that fixed the profile button!

The only one not working now is the "No topics were found" text.
PM
#
Insert it before all of the other replace text scripts.

signature
user posted image
#
Bingo! Thanks again! http://files.b1.jcink.com/html/emoticons/biggrin.gif
PM
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

OptionsPages: (2) 1 2  Add ReplyNew TopicNew Poll