inherit
Banned: Don't Spread Lies
That includes: "Martyn threatened to delete all my forums" "Martyn has banned me from all of ProBoards" Lies, Lies, Lies, Lies, Lies
However, if you want to continue claiming this, it WILL come very true
37818
0
Nov 7, 2006 7:08:09 GMT -8
o.O
5,753
February 2005
secretrater
|
Post by o.O on Sept 7, 2005 4:58:57 GMT -8
I know JavaScript ok, but I want to learn more about ProBoards coding.
How do you edit the admin panel? Is it possible, how do you show certin new objects only to certin members (Header/Footer power ones)?
How do you edit certin varibles in a JavaScript code, without the headers and footers showing?
Does anyone have a code that has the above, that I may look at and mess around with it in order to learn more, and use your coding style, or a coding style similer to yours? (I can always place a notice where the basic outline came from in the code header)
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Sept 7, 2005 16:11:00 GMT -8
1. The way I do this is by looking for the div containing the Header/Footer link then adding to this div: var div=document.getElementsByTagName('div'); for(d=0;d<div.length;d++){ if(div[d].innerHTML.match(/Headers and Footers/i) && div[d].parentNode.innerHTML.match(/Customize Your Forum/)) { div[d].innerHTML+='<br/><a href="index.cgi?action=headersfooters2&id=-&someformofID">Text</a>'; }}2. For this, I would create a function which replaces certain text in the Header or Footer. function saveInfo() { document.forms[0].footer.value = document.forms[0].footer.value.replace('var variable='+aVariable, 'var variable='+document.myForm.myInput.value); } document.write('<input type="submit" value="Save Changes" onclick="saveInfo(); this.disabled=true;">');And I'm affraid I don't have a finished Admin panel hack to show you at the moment. I've only got two half finished ones
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Sept 7, 2005 18:00:46 GMT -8
|
|
inherit
Banned: Don't Spread Lies
That includes: "Martyn threatened to delete all my forums" "Martyn has banned me from all of ProBoards" Lies, Lies, Lies, Lies, Lies
However, if you want to continue claiming this, it WILL come very true
37818
0
Nov 7, 2006 7:08:09 GMT -8
o.O
5,753
February 2005
secretrater
|
Post by o.O on Sept 8, 2005 4:54:04 GMT -8
I know some RegExp from ZT's tutorials, and dmsuperman. Also, I have an O'Reilly book.
|
|