blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 26, 2011 21:20:32 GMT -8
SiteHiya Wormo, I was hoping i could get a modification to an existing code or new code if possible. Something like Cali's Posting Request Form/Template, with the option to make posts in the same board. So template or post option. Cali's Posting Request Form/Template, does not allow normal posts to be made in the board. Thankyou.
|
|
|
Post by Wormopolis on Mar 27, 2011 7:03:14 GMT -8
cali's code cant be modified since it is remotely hosted. the Ross code could be modified, but how are you wanting it to choose between a regular form and the custom one?
|
|
blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 27, 2011 8:43:42 GMT -8
Is it possible for the new thread button stay as is, and with Ross code a new 'feedback button' placed next to new thread.
My idea is that a member can either make a standard post or leave feedback, with Ross template, depending on the subject within that board.
Hope thats clear...
Thanks Wormo.
|
|
|
Post by Wormopolis on Mar 27, 2011 11:13:34 GMT -8
I have to grab a copy of Ross code first...
|
|
blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 27, 2011 12:10:43 GMT -8
|
|
|
Post by Wormopolis on Mar 27, 2011 13:29:51 GMT -8
revised:
redacted
see if that works
|
|
blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 27, 2011 20:30:55 GMT -8
Wormo,
Works brilliant, thankyou very much.
I have a problem with this, which was a mistake in my request. What i meant to ask, was that the feedback button be located in the reply area of a post, next to add reply.
So when replying to a post you can give feedback or reply to post as normal.
Sorry mate, again thanks for your help with this.
|
|
|
Post by Wormopolis on Mar 27, 2011 21:19:08 GMT -8
change this
if (pb_action=='boardindex') {
to this
if (pb_action=='display') {
|
|
blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 27, 2011 23:51:51 GMT -8
Hiya Wormo,
Made the change, feedback shows as a normal post in firefox and opens with error in internet explorer. Error says Navigation to the webpage was canceled.
|
|
|
Post by Wormopolis on Mar 28, 2011 6:32:24 GMT -8
crap.. yeah there was another change I had to make then. I cant do that right now as I have to get to work. I will look when I get home
|
|
|
Post by Wormopolis on Mar 28, 2011 12:37:23 GMT -8
replace this line
if(document.postForm && location.href.match(/action=post&templateshow$/) && pb_username != 'Guest') {
with this
if(document.postForm && location.href.match(/action=post/) && location.href.match(/&templateshow$/) && pb_username != 'Guest') {
|
|
blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 28, 2011 13:25:43 GMT -8
Works perfect Wormo, thank you very much. Appreciate your help once again.
|
|
|
Post by Wormopolis on Mar 28, 2011 13:30:52 GMT -8
not a problem. sorry I missed that the first time. I wrote it to work on the boardindex page instead of the display page, and forgot the URL has some more info in it.
|
|
blackball
Not New Member
Posts: 21
blackball said 0 great things
|
Post by blackball on Mar 28, 2011 13:55:34 GMT -8
It's not a problem, got the end result. Great help!!
|
|
|
Post by Wormopolis on Mar 28, 2011 14:14:14 GMT -8
you might be interested in the code "sub-boards drop down using pagedrop"
|
|