Shit, doesn't work. I get this error in the extensions -
Loading of extension "bbcode_tweet" failed.
Element extension/hooks/hook has content which does not end in PHP mode.
You are not logged in. Please login or register.
PunBB Forums → Posts by paulcambull
Shit, doesn't work. I get this error in the extensions -
Loading of extension "bbcode_tweet" failed.
Element extension/hooks/hook has content which does not end in PHP mode.
I'm thinking this might be it, but a second opinion would be welcome.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE extension SYSTEM "ext-1.0.dtd">
<!--
/**
*BBCODE Tweet
*/
-->
<extension engine="1.0">
<id>bbcode_tweet</id>
<title>BBCODE TWEET)</title>
<version>0.1.0</version>
<description>BBCODE to insert tweet in post</description>
<minversion>1.4.1</minversion>
<maxtestedon>1.4.2</maxtestedon>
<hooks>
<hook id="ps_start"><![CDATA[
// tag handling function
function handle_table_tag($inputText) {
<script type="text/javascript">
function loadx(data) {
document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={IDENTIFIER}&callback=loadx"></script>
<div class='twitter' onLoad='loadx().html'/></div>
}
]]></hook>
<hook id="ps_preparse_tags_start"><![CDATA[
// add our tag to the list
$tags[0] = 'tweet';
$tags_opened[0] = 'tweet';
$tags_closed[0] = 'tweet';
$tags_inline[0] = 'tweet';
$tags_trim[0] = 'tweet';
]]></hook>
<hook id="ps_do_bbcode_replace"><![CDATA[
$pattern[] = '#\[tweet\](.*?)\[/tweet\]#se';
$replace[] = 'handle_tweet_tag(\'$1\')';
]]></hook>
<hook id="pun_bbcode_pre_buttons_output">
<![CDATA[
$this->add_button(array('name' => 'TW', 'weight' => 60, 'image' => false));
]]></hook>
</hooks>
</extension>
Is there anyone who is familiar enough with this to help me add a twitter tag?
Publication date - 5 Jul, 2012
it is an old instruction. They are now all on another.
I'm not sure that I can put that information to work.
Basically, I'm trying to do this - http://punbb.informer.com/forums/topic/ … extension/
This way my users could copy the tweet url and wrap it with the BBCode tags to render the tweet in their posts. It would be really helpful for sports and news updates.
I'm going to try and monkey with it some tonight.
Any luck with this one? I've tried to get something to work by altering another extension but I cannot get it right.
look at this?
Download Pan Icons here
Gonna check it out now, thanks!
Understand you. Give me a link to this page. I need to look at the HTML source code of the objects.
This is the page I got the image from.
Ок! I will try to add this capability in the expansion, which I cited above.
Thanks!
This is from a phpBB forum.
I have seen it in vbulletin forums but not in punbb.
I'll try to find an example for you.
Is there an extension to attach an image to a category?
I would like to be able to add logos to each category.
Is there a bbcode extension for embedding tweets in punbb?
Are you referring to Twitter from twitter.com?
Yes. I would like for my users to be able to embed a tweet in a post.
Is there a bbcode extension for embedding tweets in punbb?
It seems to happen more with smart phones and tablets. Desktops and laptops do not seem to have the same issue.
Some of my users are having an issue with the 'New Posts' link. When they click it, it does not show them the most recent links but continues to show posts as 'new' that they have already viewed.
Has anyone ever had this issue and is there a way to correct it?
Thank you in advance for taking the time to read this.
colak wrote:paulcambull wrote:Something else I am trying to do is create a 'new post' feed for a sidebar in my forums. I've looked at the Punbb guide on how to do this but it is kind of vague in its interpretation.
Is there a simple way to do this?
Hi Paul,
You could add
<!-- forum_include "http://yourforum.tld/extern-1.php" -->
in yourforum.tld/include/template/maintenance.tpl
Thanks colak, I'm going to try this out today.
I'm still struggling to get this to work.
Are there additional steps that you did not post?
Excellent work and thank you very much!
It's good to see the punbb community still getting after it.
It turns out, the extension shall inform the mention of a given user.
If me or someone said , I'll get a notification.In general, it is interesting , but not sure that the expansion will pay off.
I think it is more important for women's forums , where they like to gossip.
lol, maybe so.
It's starting to become a staple of other forum software because of how social media tags people to bring in more conversation and clicks.
I do not understand, what does it do? Describe in more detail.
Basically, user A could mention user B in a thread and it would put a notification up for user B so that they would know about the conversation
Example -
"I read this story the other day and it made me think of @somebody."
Now the user 'somebody' would get a notification (same as a reply in one of the posts or a post quote) in the navigation bar.
Is there an extension available to tag a user?
Example - @user
It would need to have a notification somewhere in the navigation bar to let users know they have been tagged.
you want to make a backup copy of the table thanks?
and then to restore it ?
Sorry for the confusion, but no.
I am trying to copy and paste a spreadsheet from Microsoft Office into a post and have it format correctly so that the information is easily readable.
I have a sports forum and a lot of people include statistics in their posts.
Basically, I need it to show up in the post like it does in this screenshot -
Is there anybody that has successfully made it so that they can post spreadsheets and tables in their forums?
paulcambull wrote:Something else I am trying to do is create a 'new post' feed for a sidebar in my forums. I've looked at the Punbb guide on how to do this but it is kind of vague in its interpretation.
Is there a simple way to do this?
Hi Paul,
You could add
<!-- forum_include "http://yourforum.tld/extern-1.php" -->
in yourforum.tld/include/template/maintenance.tpl
Thanks colak, I'm going to try this out today.
Another question - is there a way to make it so that someone could copy a spreadsheet into a post and it would line up in correctly in columns? We have a lot of analytical style information that gets presented and being able to copy directly from microsoft word or apache open office would be a huge asset.
PunBB Forums → Posts by paulcambull
Powered by PunBB, supported by Informer Technologies, Inc.