Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 25, 2015 16:29:20 GMT -8
i want to put the bold in the members edit box as default so they can fill it in for their advertisments.
i got this example off an ad site.
After moving house I am selling my TV.
It is unboxed but in perfect working order. Comes with a wall mount bracket which I have used and also the original stands (seems I might be short of some screws)
Looking for a quick sale before I try eBay. image.jpg image.jpg image.jpg
Price and currency: Delivery: Payment method: Location: Advertised elsewhere?: Prefer goods collected?:
is this possible?
|
|
user_1004d
inherit
-6400544
0
Oct 31, 2024 15:40:03 GMT -8
user_1004d
0
January 1970
GUEST
|
Post by user_1004d on Jul 25, 2015 19:41:49 GMT -8
Barring a full-fledged plugin, you could add a message parameter to the link which will insert any url-encoded value you assign there so for example if I wanted threads created in this support board to auto-fill with the questionnaire you just posted I would append the following: ?message=%5Bb%5DPrice%20and%20currency%3A%5B%2Fb%5D%20%0a%5Bb%5DDelivery%3A%5B%2Fb%5D%20%0a%5Bb%5DPayment%20method%3A%5B%2Fb%5D%20%0a%5Bb%5DLocation%3A%5B%2Fb%5D%20%0a%5Bb%5DAdvertised%20elsewhere%3F%3A%5B%2Fb%5D%20%0a%5Bb%5DPrefer%20goods%20collected%3F%3A%5B%2Fb%5D%20 to the URL on the create thread button (example: Create Support Thread)
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 2:02:14 GMT -8
Barring a full-fledged plugin, you could add a message parameter to the link which will insert any url-encoded value you assign there so for example if I wanted threads created in this support board to auto-fill with the questionnaire you just posted I would append the following: ?message=%5Bb%5DPrice%20and%20currency%3A%5B%2Fb%5D%20%0a%5Bb%5DDelivery%3A%5B%2Fb%5D%20%0a%5Bb%5DPayment%20method%3A%5B%2Fb%5D%20%0a%5Bb%5DLocation%3A%5B%2Fb%5D%20%0a%5Bb%5DAdvertised%20elsewhere%3F%3A%5B%2Fb%5D%20%0a%5Bb%5DPrefer%20goods%20collected%3F%3A%5B%2Fb%5D%20 to the URL on the create thread button (example: Create Support Thread) wow thats excatly what i want thanks. where do i put again lol new here
|
|
#eb7100
1480
0
1
Oct 31, 2024 4:58:16 GMT -8
Craig
209,163
September 2001
cmdynasty
|
Post by Craig on Jul 26, 2015 2:41:54 GMT -8
You would want to go into the Board List template, and take the following line:
<ul class="controls"><li>$[create_thread_button]</li></ul>
Changing it to
{if $[board.id] == XX} <ul class="controls"><li><a role="button" href="$[create_thread_href]?message=%5Bb%5DPrice%20and%20currency%3A%5B%2Fb%5D%20%0a%5Bb%5DDelivery%3A%5B%2Fb%5D%20%0a%5Bb%5DPayment%20method%3A%5B%2Fb%5D%20%0a%5Bb%5DLocation%3A%5B%2Fb%5D%20%0a%5Bb%5DAdvertised%20elsewhere%3F%3A%5B%2Fb%5D%20%0a%5Bb%5DPrefer%20goods%20collected%3F%3A%5B%2Fb%5D%20">Create Advert</a></li></ul> {else} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if}
Where XX is the ID of the board you want it to affect. If you click into the board, and look at the URL in the address board, you should see a number, which is the ID.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 2:49:50 GMT -8
You would want to go into the Board List template, and take the following line: <ul class="controls"><li>$[create_thread_button]</li></ul> Changing it to {if $[board.id] == XX} <ul class="controls"><li><a role="button" href="$[create_thread_href]?message=%5Bb%5DPrice%20and%20currency%3A%5B%2Fb%5D%20%0a%5Bb%5DDelivery%3A%5B%2Fb%5D%20%0a%5Bb%5DPayment%20method%3A%5B%2Fb%5D%20%0a%5Bb%5DLocation%3A%5B%2Fb%5D%20%0a%5Bb%5DAdvertised%20elsewhere%3F%3A%5B%2Fb%5D%20%0a%5Bb%5DPrefer%20goods%20collected%3F%3A%5B%2Fb%5D%20">Create Advert</a></li></ul> {else} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if} Where XX is the ID of the board you want it to affect. If you click into the board, and look at the URL in the address board, you should see a number, which is the ID. what do u mean by 'take' the following line? do mean delete it and replace with the other ? and im wanting it in a few boards, how do i put a few board id's in the XX
|
|
#eb7100
1480
0
1
Oct 31, 2024 4:58:16 GMT -8
Craig
209,163
September 2001
cmdynasty
|
Post by Craig on Jul 26, 2015 3:41:16 GMT -8
Yes. Find and replace.
You would need to say board or board:
{if $[board.id] == XX || $[board.id] == XX || $[board.id] == XX}
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 3:51:58 GMT -8
ok i thimk iv got this thanks wish me luck lol
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 4:12:16 GMT -8
ok craig. iv put the code in for board id 62 and the create thread button has changed to 'create advert' which is great, but its not working, and i want to add this to about 25 other boards aswell. what do i do? rentashop.proboards.com/iv taken it off lock if you want to look the code is on line 13 in the board template not the board list. i may have done it wrong idk.
|
|
#eb7100
1480
0
1
Oct 31, 2024 4:58:16 GMT -8
Craig
209,163
September 2001
cmdynasty
|
Post by Craig on Jul 26, 2015 7:13:06 GMT -8
It's on maintenance mode But checking. The $[create_thread_href] doesn't appear to do what you would assume it would. But, no worries. {if $[board.id] == XX} <ul class="controls"><li><a role="button" href="/thread/new/$[board.id]?message=%5Bb%5DPrice%20and%20currency%3A%5B%2Fb%5D%20%0a%5Bb%5DDelivery%3A%5B%2Fb%5D%20%0a%5Bb%5DPayment%20method%3A%5B%2Fb%5D%20%0a%5Bb%5DLocation%3A%5B%2Fb%5D%20%0a%5Bb%5DAdvertised%20elsewhere%3F%3A%5B%2Fb%5D%20%0a%5Bb%5DPrefer%20goods%20collected%3F%3A%5B%2Fb%5D%20">Create Advert</a></li></ul> {else} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if}
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 7:16:20 GMT -8
It's on maintenance mode But checking. The $[create_thread_href] doesn't appear to do what you would assume it would. But, no worries. {if $[board.id] == XX} <ul class="controls"><li><a role="button" href="/thread/new/$[board.id]?message=%5Bb%5DPrice%20and%20currency%3A%5B%2Fb%5D%20%0a%5Bb%5DDelivery%3A%5B%2Fb%5D%20%0a%5Bb%5DPayment%20method%3A%5B%2Fb%5D%20%0a%5Bb%5DLocation%3A%5B%2Fb%5D%20%0a%5Bb%5DAdvertised%20elsewhere%3F%3A%5B%2Fb%5D%20%0a%5Bb%5DPrefer%20goods%20collected%3F%3A%5B%2Fb%5D%20">Create Advert</a></li></ul> {else} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if} iv taken it off maint
|
|
#eb7100
1480
0
1
Oct 31, 2024 4:58:16 GMT -8
Craig
209,163
September 2001
cmdynasty
|
Post by Craig on Jul 26, 2015 7:18:40 GMT -8
Did you try what i posted? Hopefully it works.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 7:28:10 GMT -8
Did you try what i posted? Hopefully it works. no i put the first one in and it didnt work, i think i did it wrong so im not trying so i dont mess it up any more. can u have a look please, i dont want to ruin anything.
|
|
#eb7100
1480
0
1
Oct 31, 2024 4:58:16 GMT -8
Craig
209,163
September 2001
cmdynasty
|
Post by Craig on Jul 26, 2015 7:31:26 GMT -8
try the one in my latest post. It's different to the first one.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Oct 31, 2024 15:40:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 26, 2015 7:36:27 GMT -8
i dont want to mess it up can u do it for me please ? iv tryed once.
|
|
#eb7100
1480
0
1
Oct 31, 2024 4:58:16 GMT -8
Craig
209,163
September 2001
cmdynasty
|
Post by Craig on Jul 26, 2015 7:40:29 GMT -8
I can't edit it. Give it a go. You can always reset to default if you mess it up. Don't be scared
|
|