inherit
157705
0
May 2, 2012 15:41:34 GMT -8
Mad Madisson
19
August 2010
anamaris
|
Post by Mad Madisson on Nov 5, 2010 9:06:20 GMT -8
Hello there, Thank you for taking the time to look through my predicament. I really appreciate the help. I've been having problems with my little testing forum. I had tried using the Justify code and the RPG posting template code and they don't seem to work. I removed a profile remodel code and the YourShop code thinking they might be the problem, but it doesn't seem to be it. I ended up removing the justify code since the Style UBBC code covers that. There's obviously something I'm missing, I'm just not sure what it is.
|
|
tuck
inherit
-4236181
0
Apr 19, 2024 20:15:30 GMT -8
tuck
0
January 1970
GUEST
|
Post by tuck on Nov 5, 2010 9:40:57 GMT -8
Hello there, Thank you for taking the time to look through my predicament. I really appreciate the help. I've been having problems with my little testing forum. I had tried using the Justify code and the RPG posting template code and they don't seem to work. I removed a profile remodel code and the YourShop code thinking they might be the problem, but it doesn't seem to be it. I ended up removing the justify code since the Style UBBC code covers that. There's obviously something I'm missing, I'm just not sure what it is. You are missing the lower portion of the RPG posting template code. container.appendChild(table);
document.modifyForm.insertBefore( container, document.modifyForm.getElementsByTagName("hr")[1].previousSibling ); } }
var pT = new PostingTemplate();
//--> </script>
|
|
inherit
157705
0
May 2, 2012 15:41:34 GMT -8
Mad Madisson
19
August 2010
anamaris
|
Post by Mad Madisson on Nov 6, 2010 6:14:17 GMT -8
I can't believe I did that... Thanks so much for taking a look and pointing that out. ...Hmm, I can't seem to see it in the profile page. It appears just fine when replying though. I'll keep trying to edit it and see what's up.
|
|
inherit
157705
0
May 2, 2012 15:41:34 GMT -8
Mad Madisson
19
August 2010
anamaris
|
Post by Mad Madisson on Nov 7, 2010 7:09:43 GMT -8
Still haven't found the culprit. I noticed that when I try to add codes that affect the main profile, they either don't work at all, or do half of what they should. Anything that adds to the modify profile just doesn't.
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,852
December 2005
horace
|
Post by Chris on Nov 7, 2010 13:21:51 GMT -8
In the case of the RPGTemplate code you won't see anything when viewing modifyprofile page since the restrict signature links code modifies the url by adding &p=# at the end.
Now if you look at the RPG code you'll see this line if(pb_username == location.href.split("=")[2])
What that line does is check if the profile being modified is your own but with the added stuff at the end of the URL your username will never match what's in the url because instead of pb_username == 'admin' you'll always get something like pb_username == 'admin&p=400'
To get both codes working together you'll need to edit the RPG code so it uses a different method:
PostingTemplate.prototype.addFields = function() { if(document.modifyForm && pb_username == document.modifyForm.user.value) { var container = document.createElement("div"); container.innerHTML = '<font size="-1"><b>Posting Templates</b></font><hr size="1" />';
That red line is the change I am suggesting
|
|