Welcome to Geeklog Wednesday, October 27 2021 @ 06:35 pm EDT

Geeklog Forums

Chatterblock static page?


Status: offline

lbpp

Forum User
Chatty
Registered: 10/06/05
Posts: 57
I want to put the chatterblock as part of a static page i will have called "Members Lounge". So instead of it being a block on the left or right i need to be able to call it in a static page with the rest of the content. Is there an easy way to do this?
 Quote

Status: offline

lbpp

Forum User
Chatty
Registered: 10/06/05
Posts: 57
bump... this seems like it would be easy for the right person to answer. I have been at it and still no luck. someone PLEASE drop me some info.
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 19/02/04
Posts: 818
Add PHP support for your static pages plugin and then add this where ever you want the chatterblock:
PHP Formatted Code

<?php
echo phpblock_chatterblock();
?>

 
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
PHP Formatted Code
<?php
echo phpblock_chatterblock();
?>
 


Can I use this as a general example for displaying PHP blocks in static pages?
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 19/02/04
Posts: 818
Sure, as long as you specified your static page to use PHP.
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 22/03/04
Posts: 1512
..and if that is all you're putting in the staticpage editor, remember to not use the PHP open and close tags.
 Quote

Status: offline

lbpp

Forum User
Chatty
Registered: 10/06/05
Posts: 57
see i knew the solution was so easy i was just missing it. Well now that i try it there is an issues. I have placed the link to the new static page in my user menu, but when i log in and try to go to the page it just says "Registered user feature" and nothing else. What is odd is if i log in as the site admin i can click on it and get the chatterblock. I didnt set the permissions to the static page that i included the chatterblock in to admin only, just disabled anon user access. Any advice??
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 19/02/04
Posts: 818
Double check Geeklog's permissions for that static page.
And remember that Chatterblock has its own internal settings too...
 Quote

All times are EDT. The time is now 06:35 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content