forum

How to create a forum topic programmatically?

三世轮回 提交于 2019-12-03 21:37:02
I just gone through how to create forums and containers programmatically with the below link http://www.unibia.com/unibianet/drupal/how-create-drupal-forums-and-containers-programmatically But never see any post(google) which create forum topic pro-grammatically, whether i should go with node_save() or any alternative. please help me guys, Thanks, Edvin A quick, safe and easy way to create new nodes programmatically is to use node_save() : <?php // Construct the new node object. $node = new stdClass(); // Set the values for the node $node->title = "My new forum topic"; $node->body = "The body

What is the best forum plug-in solution for the Symfony framework?

本小妞迷上赌 提交于 2019-12-03 20:27:11
I'm looking for a good solution to integrate a forum into a symfony application. Something like phpBB would be excellent. I've seen phpBB plugins to integrate with symfony but that's not enough for my purposes, also, mapping database tables is a lame approach in my opinion. If anybody knows a good working forum component for Symfony then I would really apreciate it. :) Also, it needs to work with Doctrine. Thanks! I've found sfDoctrineSimpleForumPlugin Thanks for all the responses, hope this works :) ! The author made even some changes today after this post If you're discounting the

Store text in BLOB?

家住魔仙堡 提交于 2019-12-03 16:05:42
I'm making a little forum for my clans website. I'm wondering if I should store the thread text in TEXT or BLOB? Whats the difference? I've seen that phpBB does that. What is BLOB anyway? cant find much about it on Google. A blob is just a bunch of bytes. An arbitrary number of bytes, nothing more. If you were to store text as a blob, you'd have to worry about encoding (the process of translating text to bytes). But if you store things as text whatever database transport your using will make sure that the text stored in the database is properly encoded and decoded for both efficient storage

Codeigniter Forum Integration

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 07:40:25
问题 I'd like to integrate a simple forum with a Codeigniter application and wondered if anyone had any recommendations? Cheers Laurence 回答1: I would take a look at vanilla forums, lots of addons, open source, and pretty easy to integrate things with (ie Codeigniter) http://vanillaforums.org/ there are a few forum topics on how to do things with ci and vanilla http://codeigniter.com/forums/viewthread/134946/ https://github.com/EllisLab/CodeIgniter/wiki/FreakAuth-Vanilla-integration--an-auth-lib

Full integrate phpbb into existing website

陌路散爱 提交于 2019-12-03 00:51:29
I have a website that runs for around 2-3 years before, it has its own forum, however, recently I would like to use the phpbb3 to replace that forum. I encounter the problem when I need to do integration . To be precise, I have an existing database that have fields designed for my own website. What I would like to do is the old user do not need to register again and can login to the phpbb forum, using every functions it provided (e.g. check profile) . Are there any way to implement such conversion? So far I have got some source code to check login, but there are a lots of works should be done

Codeigniter Forum Integration

倖福魔咒の 提交于 2019-12-02 21:07:35
I'd like to integrate a simple forum with a Codeigniter application and wondered if anyone had any recommendations? Cheers Laurence Tom Schlick I would take a look at vanilla forums, lots of addons, open source, and pretty easy to integrate things with (ie Codeigniter) http://vanillaforums.org/ there are a few forum topics on how to do things with ci and vanilla http://codeigniter.com/forums/viewthread/134946/ https://github.com/EllisLab/CodeIgniter/wiki/FreakAuth-Vanilla-integration--an-auth-lib-and-a-forum-engine- https://github.com/EllisLab/CodeIgniter/wiki/CL-Auth-Integration-with-Vanilla

Forum tags. What is the best way to implement them?

蓝咒 提交于 2019-12-01 12:39:29
I am building a forum and I want to use forum-style tags to let the users format their posts in a limited fashion. Currently I am using Regex to do this. As per this question: How to use C# regular expressions to emulate forum tags The problem with this, is that the regex does not distinguish between nested tags. Here is a sample of how I implemented this method: public static string MyExtensionMethod(this string text) { return TransformTags(text); } private static string TransformTags(string input) { string regex = @"\[([^=]+)[=\x22']*(\S*?)['\x22]*\](.+?)\[/(\1)\]"; MatchCollection matches =

Installing on CentOS/RHEL / KB forum / Ajenti

点点圈 提交于 2019-12-01 12:33:50
Installing on CentOS/RHEL / KB forum / Ajenti Installing on CentOS/RHEL / KB forum / Ajenti Ajenti → KB → Installation Is it?: Inappropriate Spam Duplicate Yes No Are you human? Enter letters on image Post comment or Cancel Reply posted by Anonymous posted less than 1 minute ago Translation provided by Microsoft translator: AWAITING MODERATION or Cancel To discussion Unstick Report Is it? Inappropriate Spam Duplicate Installing on CentOS/RHEL Quick automatic install wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-rhel.sh | sh Manual install Ajenti requires EPEL

youtube embedded video pregreplace with start timing

梦想的初衷 提交于 2019-12-01 09:49:08
问题 On our forum we currently replace all youtube links with embedded objects, thanks to the following answer: How do I find all YouTube video ids in a string using a regex? The trouble is, many of our users wish to post a link directly to a particlar time within a video. E.g.: http://www.youtube.com/watch?v=jECIv7zlD4c&feature=player_embedded#t=1m15s Note the "#t=1m15s" As per the youtube documentation, when you are embedding a start time into a video requires a 'start' parameter, you can't use