hello,
so far I remember it was for punbb 1.2.x. I am not using that tree anymore. i have plan same for 1.3.x
thanks
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
PunBB Forums » Posts by rajuru
hello,
so far I remember it was for punbb 1.2.x. I am not using that tree anymore. i have plan same for 1.3.x
thanks
i am also confirming the problem. admin can edit the thread (first post). user gets this error when tries to edit the first post. i had to disabled the ext.
it's cool. punbb needs some more cool themes.
so in your case, twitter rejecting messages > 160 chars? i don't remember if it was same in my case! ![]()
does punbb provides any function that returns permalink for any given post/topic? i am not familiar with punbb permalink stuffs!
please open twitter.class.php
you will get a line like:
if(!empty($Status) && TextLength($Status) <= $this->MaxLength){
replace with:
if(!empty($Status)){
Rajuru - any thoughts on my problem? (one post above yours)
you have already quoted my answer
.
One more feature request: Is it possible to extract some content of new topic/reply into tweet?
hello,
i am sorry, i did not see your post earlier.
it is possible however no benefit bcoz twitter supports only 140 or 160 chars. so nothing understandible can be shown after showing the topic and URL. max length is too short to show some excepts.
I'd love to see the addition of newly registered members as tweets, and have a link to the profile.
initially i had wish to implement this. however, could not manage time for the same
. busy with a lots of works. will do if get some moments. i have another cool ext idea too
.
I just saw the error "Post too long/not set", and the new topic wasn't posted to Twitter. Presumably this is because the topic title made the whole thing longer than 140 characters. Is it possible to automatically cut the title (with an elipsis - '...') where necessary to ensure that a twitter post will always be made?
actually, i faced same in some topics too. so in my personal version of the script, i removed the length checking. i awarded the duties to twitter
. twitter itself will removes additional texts. so if you want, you may try removing the length checking in script.
if your forum is not in english, you may face it frequently. you may replace strlen() to mb_strlen() that will reduce that ugly message
.
I thought you could do that in the admin panel!
that's not what I want. i mentioned in first post already.
thanks though
hello,
i tried not to show the quick post section using a hook. but i ended with no success. it is possible to hide from option. however, i will show/hide on condition in my ext.
i tried,
hook = vt_qpost_output_start
---------------------
condition to show quickpost {
the defaults codes
---------------------
hook = vt_quickpost_end
---------------------
}
---------------------
but it did not work. possibly due to some other hook codes.
i also tried to clean the buffering on condition before replacing the template variables. however getting encoding error.
can anyone tell me how simply disable quick post?
Hello,
Thanks for posting the screen shot. It is apparent that when you uncheck the To.ly short url box, my extension is not shortening the URL. However, twitter itself now uses bit.ly to shorten url. Here nothing to do on our part. Again now idea why it is not shortened in 3rd link!
Hi there!
I just want to begin by saying, I love this extension!
It's brought so much traffic and exposure to my boards, it's amazing.
However, I have one minor problem, I have deselected the 'to.ly' short URL option. This has successfully disabled the short URL for NEW THREADS, but has no effect on new posts IN THREADS.
Love your work.
Thanks mate.
hello,
thanks for your compliments.
to.ly short url is not working fine for me (both topic/post) when I uncheck it. however, twitter now uses bit.ly now by default. Are you using the latest version?
anyone have any idea of extending this extensions? I will work on that if I like the idea
.
Hello I am sorry to hear that it still didn't help you. however, if u want me to help u further please PM me punbb admin login and ftp login info.
i will check when get a moment.
regards
it highly improves page loading when I move the js file at bottom. but certain things do not work as they must be loaded header section. so need a exception list. it may be a list of files that should not be moved to bottom.
so if possible, please add this feature.
sorry for delay. I have just seen your PM.
Please try this:
http://forum.projanmo.com/extensions/pun_twitter.zip
let me know the update.
one thing! yslow suggests to put css in head section.
oh cool! i just wasted time with my one. surely try your's one!
thanks
Today, while investigating the slow issues of my forum using yslow, I found that it loads 7 js and 6 css files placing the status in D grade. yslow suggested to merge them into one.
so I have made this extension. It will merge all javascript file and css and will be loaded inside the document. after doing this I have seen yslow showing it in A grade. ![]()
i am bad at regex. so did some manipulations...........:(
hope it will come handy for you.
Download: http://hungrycoder.xenexbd.com/uploads/merge_js_css.zip
Hello,
You don't need to change \pun_twitter\lang\English\pun_twitter.php. That is language file.
To update on topic post only, Uncheck Update Posts from Settings->Features->Pun Twitter section
There are short notes for you.
thanks
rajuru.. thank you very much.
you are my second hero for this day
so it is solved now? cool! very nice to know that!
so who is the first hero? ![]()
Thanks rajuru, but this extension doesnt work for me. I have uploaded the file to /extension directory, and then I've typed my new twitter username and password, that I have created just for the punbb forum (by going to admin -> settings -> features). the twitter account doesn't post any updates at all. I have tried to use my own personal twitter account as well, same thing.
Dear Khalid-S,
I think I have found a solution for your problem. Though I am not sure, but still try once.
open the /extensions/pun_twitter/twitter.class.php
You will see some codes like the following in line near 60:
curl_setopt($ch, CURLOPT_URL, $URLupdate);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "$this->Username:$this->Password");
add the following line after that, save the file and upload:
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Expect:"));
I believe it will solve your problem.
I am amazed that nobody have made this mod. As for me, it is maybe one of most important mod. Since upgrading from 1.2.x my forum is full with mess becouse I do not have such mod for moving seperate posts to another topics...
Nobody is making this mod?
Yes! we are also missing this feature! the tips given by two punbb developers are a solutions but yes, time consuming and boring sometimes! but yes, that's the only way now!
about mod:
actually neither the core developers and mod developers are paid for their work! the developers are doing it for mankind or from hobby! the mods are usually mod by many people for their own uses but later shares with the world! we are grateful to both parties for their contributions! so you can't blame someone for non-availability of any mod! if you find something is missing but u need then go to any freelancing site and ask someone to develop it for you.
We have got an extension called pun_admin_events. I think it will be useful for you in development of your extension. You can use it to register any on-forum actions you want.
Using this extension is very easy. You need just to include "<FORUM_ROOT>/extensions/pun_admin_events/pun_admin_events.php" and to call function "pun_admin_event" with parameters.
The first parameter is the type of events ("move topic" for example); other parameters are optional: second - comment to event, third - flag, if it is set to true, the extension will also save the user_id and username of the user who caused the event.
The latest version of pun_admin_events is in SVN. But this extension needs testing. We will apprecate, if you can do it
that's cool! I will surely use that!
Thanks
Hello,
In a multi moderators forum it is very hard to find what action is done by which moderator. So I am making an extension for moderation log. It will log all moderation activities. But currently it can monitor only a few things:
1. log post editing
2. log deleting
3. log ban/unban
4. move topic
i will continue adding more logging features day by day. I will be glad if you people also test this with me.
Usages:
1. download from here http://hungrycoder.xenexbd.com/uploads/mod_log.zip
2. upload & install
3. you should get a new menu 'Mod Log' after Extensions.
Thanks
Great extension.
How can it update new topics/posts from one specify forum instead of all forums? like news/announcements forum.
Category |- Forum 1: News & Announcements |- Forum 2: General Tech SupportI just want to make it post new topics in "News & Announcements" forum to twitter.
I am sorry I yet not uploaded the latest edition. I will upload after implementing hash tag feature. in the new release u will get a box where u can mention which forums are to skip. you can mention all forums ID except these two. that will do this purpose.
thanks
rajuru wrote:please check if both extension are working fine.
PHP Info:
curlcURL support enabled cURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 mbstringMultibyte Support enabled Multibyte string engine libmbfl Multibyte (japanese) regex support enabled Multibyte regex (oniguruma) version 4.4.4 Multibyte regex (oniguruma) backtrack check OnUsername must be twitt name or e-mail?
Is twitter updates instantly? I mean - I post test message on my forum & at at the same moment my twitter updates?
Yep, twitter username and password.
updates are made instantly. It posts updates immediately after storing to db and just before redirecting you to foo page.
PunBB Forums » Posts by rajuru
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.