Ipb Issue - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Site and Server Administration > Forum Management » Ipb Issue


Closed Thread
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 11-01-2005   #1 (permalink)
EnglishVersionIncluded
Senior Member
 
Join Date: Oct 2005
Location: Doha, Qatar
Age: 20
Posts: 126
Send a message via AIM to EnglishVersionIncluded
Thumbs up

There is a javascript for IF to remove birthdays/forthcoming events sections at the bottom of the forum when there are none, and when there are some it reapears, the code is:

Code:
<script type='text/javascript'>
<!--
// remove birthdays/forthcoming events when there are none
// code by ticlo/Stefan
e = document.getElementsByTagName('TD')
for (n = 0; n < e.length; n++) {
if (e[n].className == 'pformstrip' && (e[n].innerHTML.match(/^Forthcoming Calendar Events within the next [0-9]+ days$/) || e[n].innerHTML.match(/^Today's Birthdays$/))){
for (pt = e[n].parentNode; pt.nodeName != 'TABLE'; pt = pt.parentNode);
nr = pt.rows[e[n].parentNode.rowIndex + 1]
if (nr.cells[1].getElementsByTagName('A').length == 0){
e[n].parentNode.style.display = 'none'
nr.style.display = 'none'
}}}
// -->
</script>
The problem is, i dont know where to add it on my IPB, i think i will have to edit a file using my FTP, but I dont know which one. Can someone tell me if this IF script will work with IPB, and if it will work can you tell me where it goes please?
__________________
EnglishVersionIncluded.com - Private & Protected Blog*1337*
EnglishVersionIncluded Forums - Private Forums *NOW OPEN*
EVI Subsites - The English Version Included Subsite Hub *Under Construction*
The EVI Journal Depot - Check Out The EVI Journals *Under Construction*
The EVI Test Site - Here are EVI's test designs *Always Something New*
EnglishVersionIncluded is offline  


Old 11-01-2005   #2 (permalink)
EnglishVersionIncluded
Senior Member
 
Join Date: Oct 2005
Location: Doha, Qatar
Age: 20
Posts: 126
Send a message via AIM to EnglishVersionIncluded
Default

i found a menu option to do this for me .. thank you

--question answered--
__________________
EnglishVersionIncluded.com - Private & Protected Blog*1337*
EnglishVersionIncluded Forums - Private Forums *NOW OPEN*
EVI Subsites - The English Version Included Subsite Hub *Under Construction*
The EVI Journal Depot - Check Out The EVI Journals *Under Construction*
The EVI Test Site - Here are EVI's test designs *Always Something New*
EnglishVersionIncluded is offline  

Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Session Issue alejandro ASP 0 07-02-2006 08:19 AM
The Twin Towers issue with Microsoft Islyan All Things General 11 05-16-2006 02:16 AM
Another Issue EnglishVersionIncluded Forum Management 5 03-12-2006 02:11 PM


footer left
All times are GMT. The time now is 10:48 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Great Place for a T-shirt Quilt | Online Advertising | Insurance | Tutorial eBook PDF Download | Web Advertising

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49