inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 22, 2016 22:11:13 GMT -8
Is there a way to have the last post made in the shoutbox appear somewhere else? Do I need a plugin for this with a key? I just want the last post (none of the rest of the shoutbox) to appear.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 22, 2016 22:19:31 GMT -8
Can something like <script> $('#target-div').load('http://http://thecityofsin.freeforums.net/page/facebookwall #shoutbox-post.shoutbox-post-2065.first.content-box'); </script> work?? Lynx you might know maybe?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on May 22, 2016 23:12:40 GMT -8
Can something like <script> $('#target-div').load('http://http://thecityofsin.freeforums.net/page/facebookwall #shoutbox-post.shoutbox-post-2065.first.content-box'); </script> work?? Lynx you might know maybe? Sorry. I have no idea. I haven't played with shoutbox stuff.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 23, 2016 10:54:23 GMT -8
Okay. Sorry to bug you. Thanks for replying.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on May 23, 2016 11:08:17 GMT -8
You're not bugging me. I wish I could help, but this is beyond my knowledge and programming skills right now.
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on May 24, 2016 10:06:27 GMT -8
Hi Tiffy-Bean , do you have your newest shouts at the top or bottom? Edit 1: also keep in mind that if you use a key to store it, it can only be updated when viewing the home page and only via user interaction, like the user clicking on a link, etc. Edit 2: try this: Move Last Shoutbox Post.pbp (836 B) put this wherever you want the last shoutbox post to display: <div id="last_shoutbox_post"></div> this uses local storage to grab the last post, and it will automatically be updated whenever anyone views your forum home page.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 24, 2016 12:42:54 GMT -8
Hi Tiffy-Bean , do you have your newest shouts at the top or bottom? Edit 1: also keep in mind that if you use a key to store it, it can only be updated when viewing the home page and only via user interaction, like the user clicking on a link, etc. Edit 2: try this: put this wherever you want the last shoutbox post to display: <div id="last_shoutbox_post"></div> this uses local storage to grab the last post, and it will automatically be updated whenever anyone views your forum home page. I tried Edit 2..which would be my preferred way of doing it, and it isn't appearing for me. My forum: thecityofsin.freeforums.net/. I have it set that only members can view my board so if you wouldn't mind making a temporary account on the forum? My shoutbox is on a custom page located here: thecityofsin.freeforums.net/page/facebookwalland it has a few mods to it (like avatars). So, if you are willing, please take a look and give me advice what I need to do to fix it?
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on May 24, 2016 12:55:06 GMT -8
where did you put the div? i don't see it in your forum's source
registered under username "soe"
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 24, 2016 13:00:44 GMT -8
accepted..and I put it on the layout templates home page under the important threads bit.
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on May 24, 2016 13:13:25 GMT -8
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 24, 2016 13:26:26 GMT -8
still no dice.
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on May 24, 2016 13:38:49 GMT -8
download again please.
Edit: keep in mind you must view the shoutbox 1st before it'll display on another page.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 24, 2016 13:42:52 GMT -8
nope. This time it says 'null' though.
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on May 24, 2016 13:44:09 GMT -8
What do you mean view the Shoutbox first? when I try to new versions I try putting a fresh post up and then going back to the homepage to see if it updated.
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on May 24, 2016 13:54:56 GMT -8
What do you mean view the Shoutbox first? when I try to new versions I try putting a fresh post up and then going back to the homepage to see if it updated. when you view any page that has the shoutbox on it the last post is saved to localstorage so when you view a page where the shoutbox isn't on the last post will display there (assuming the div is visible globally) re-download. since you have the shoutbox on a custom page i had to make a small edit.
|
|