inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 26, 2014 19:44:06 GMT -8
This wont be able to grab template variables since they dont exist in the scope of plugins. this allows you to put direct HTML into a specific spot in your forum. HTML that you put into the plugin UI. and the identifier is what you give as an id to the target.
so lets say you wanted a HTML table to appear at the top of the forum in several different themes, that has stats for some football team. you would work out all the HTML and put it into the box in the plugin UI. then give the identifier of the box a name like "teamstats"
then go into your templates for those themes, and insert <div id="teamstats"></div> into the forum wrapper (or wherever you wanted it to show up). then when someone viewing that theme loads the page, the plugin will insert your HTML table into that div.
|
|
inherit
194160
0
Mar 23, 2015 9:54:45 GMT -8
blc
2,641
May 2013
blc
|
Post by blc on Aug 26, 2014 21:01:35 GMT -8
Can someone give a screenshot of theirs as an example? I don't know what I am supposed to put as the Identifier. I want to put this code in all themes: <tr> <td class="headings">Likes:</td> <td>$[user.likes]</td> </tr> --- Some already have it in though. I use it. At the bottom of my forum I have the flags from the nations that have been to my site. The html injector allows me to match the background of the flags with each theme. But you can use it for other things as well.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 27, 2014 14:03:08 GMT -8
sure it will. but it wont replace the template variables.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 27, 2014 16:33:33 GMT -8
forum template variables are the things that look like $[user.avatar] and similar
|
|
inherit
218162
0
Nov 3, 2015 2:48:31 GMT -8
toosk3tchy
198
January 2015
toosk3tchy
|
Post by toosk3tchy on Jan 28, 2015 7:46:09 GMT -8
Is there a way to get the shoutbox into the sidebar table?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 15:47:26 GMT -8
not with this, since the shoutbox is a forum template variable. it depends on how you are getting side tables. if you are using a plugin, you would probably have to have a small code do a relocate
|
|
inherit
218162
0
Nov 3, 2015 2:48:31 GMT -8
toosk3tchy
198
January 2015
toosk3tchy
|
Post by toosk3tchy on Jan 28, 2015 16:41:25 GMT -8
It's part of the theme. There's a pre set sidebar. My guest login is turned on so you could see? Forzatimeattack.proboards.comI was just going to put $[shoutbox] in the forum wrapper where it says the text that in the box but I'm just playing with no knowledge of css lol. It's kinda fun, if I get rewarded
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 17:42:44 GMT -8
ok well if your sidebars are built into the template itself, you do exactly as you said, you put the shoutbox variable into the space of the side tables you want it to show.
|
|
inherit
218162
0
Nov 3, 2015 2:48:31 GMT -8
toosk3tchy
198
January 2015
toosk3tchy
|
Post by toosk3tchy on Jan 29, 2015 1:36:01 GMT -8
ok well if your sidebars are built into the template itself, you do exactly as you said, you put the shoutbox variable into the space of the side tables you want it to show. Cool, here's a shot of the css can you recommend where exactly i.imgur.com/8XsX0Ba.pngThanks S
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 29, 2015 8:55:52 GMT -8
Do you not have access to the $[shoutbox] variable on that template? Because where it says to use my plugin is the spot where I would put it
|
|
inherit
87736
0
Apr 7, 2020 23:18:08 GMT -8
Adrian
625
August 2006
piper05
|
Post by Adrian on Sept 23, 2015 1:20:12 GMT -8
Hi there,
I have a countdown clock and a music player I want to put in 2 board descriptions. How would I use this plugin to add that?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 29, 2015 6:39:36 GMT -8
Are those other plugins? They would need to run after injections in order to do their replacement functions. If it would be in multiple board descriptions, injections wouldn't work because it looks for unique locations
|
|
inherit
169267
0
Nov 24, 2024 12:24:51 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Mar 20, 2021 12:46:05 GMT -8
Hey WormopolisHow about giving a option to allow members to use this plugin. Seems like it could be useful to some of my members especially in posts. Thanks for the plugin!
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jan 17, 2023 21:00:35 GMT -8
For the plugin located at: www.proboards.com/library/plugins/item/620Allows admins to setup HTML chunks in the plugin settings for universal placement across themes by inserting elements with unique ids in the templates or h/f Hey Wormo, Any chance of an expansion for this plugin? I know some other plugins have them and wondered if it was possible for this one? Thanks!
|
|