forum

RESTful interface to PHP forum software

房东的猫 提交于 2019-12-12 08:55:46
问题 I'm looking to integrate a light-weight forum feature into an existing GWT website. The front-end is written in GWT/SmartGWT and the backend is written in PHP. The communication is through a RESTful API using JSON. I have looked into the forums of some popular software (SMF, phpBB, etc.) but was unable to find any references to a RESTful web API to make integration into an existing non-PHP site easier. The closest I came is to vBulletin's Mobile API - https://www.vbulletin.com/forum/content

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

我们两清 提交于 2019-12-12 08:16:38
问题 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! 回答1: I've found sfDoctrineSimpleForumPlugin Thanks for all the responses, hope

Effective methods of indentifying and blacklisting a user

做~自己de王妃 提交于 2019-12-12 04:37:59
问题 I'm currently looking at different ways to use various web/internet technologies in order to be able to identify and blacklist a user of website rather than the host . If that didn't make much sense, let me explain a little: As you might be aware, some sites (particularly forums and message boards) have the unwelcoming visit of spammers every so often. Obviously forum moderators are able to blacklist any accounts used to do this, but it's what occurs after this that's the problem. In many

How would I make a image scale with the browser or screen resolution with css

淺唱寂寞╮ 提交于 2019-12-12 03:52:08
问题 I am working on a page for my mybb forum and I added some images and I want them to scale with the screen resolution so if I have a 17" it looks the same as someone with a 19" screen. Because right now the images just look all messed up. Here is the page that I am working on. http://crescentgaming.com/forums/test.php 回答1: In your CSS, use percents. HTML <img src="/folder/whatever.jpg"> CSS img{ width: 45%; } Of course, you could switch it to whatever percent you want. There is a more

Is variable set/defined issue?

房东的猫 提交于 2019-12-12 03:14:49
问题 I'm using a forum software where you can pull up an avatar link using this: {$mybb->user['avatar']} If no avatar is set then nothing is returned. I want to show an image if no avatar is set. Currently the HTML is setup like this: <div id="avatar"><div style="background: url({$mybb->user['avatar']}) center center no-repeat;"></div></div> The outer div is empty and in the background. This one is the one I'm adding a class too (.defaultavatar) so that a default avatar will display. The inner div

How can I accept bug reports and other user feedback from within my app?

ⅰ亾dé卋堺 提交于 2019-12-11 23:09:11
问题 How can I accept feedback like bug reports, suggestions, and comments from my users in-app? From what I can tell, the Android platform and Play offer no solutions for issue tracking or forums. To clarify, I'm not looking for a way to submit crash reports exclusively, and I'm not looking to track user behavior. I'm looking for a way for users to report unexpected behavior, ideas for enhancements, etc. 回答1: You could make use of Instabug’s SDK. It includes several features which are all

One or two tables for forum?

穿精又带淫゛_ 提交于 2019-12-11 16:48:22
问题 Im building a forum and I'm wondering whether I should have one table where I store all main posts and then all the answers in another table. I've always stored everything in one table, making it east to count and let users comment every post (comments in another table). What should I do? Pros and cons? Tried to google but didn't find anything. Thanks for your help! 回答1: I usually follow the rule every type of dataset gets a own table . This way you can cleanly define relationships You have

Forum data in mysql database

断了今生、忘了曾经 提交于 2019-12-11 11:18:53
问题 So I am using php to make a simple website for a school project. For a forum would I do this? When a new area is created > create a new database When a new topic in an area is created > create a new table When a new post in a topic is created > add row to table When a area is deleted > delete the database When a topic is deleted > delete the table etc etc. Would this be what you do for a forum type scenario? 回答1: You don't add tables or databases after you launched your project. Set up a

Echoing multiple checkbox values In PHP

99封情书 提交于 2019-12-11 11:11:02
问题 I am having trouble using $_GET with radio buttons. 4th<input type="checkbox" name="date" value="4th"> 5th<input type="checkbox" name="date" value="5th"> 6th<input type="checkbox" name="date" value="6th"> The user chooses what days they are available. Then I want to echo out what days the user selected: <?php echo "You are available " . $_GET["date"] . "!"; ?> The above code only echos out one. Not all three. Is there a way to do this? 回答1: checkbox values are returned in an array as they

A ListView under a WebView

扶醉桌前 提交于 2019-12-11 09:28:04
问题 I am writing an Android app to display a forum. The content of the main article is in a WebView , and I'd like to put the answers into a ListView under the main article. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/bg" android:orientation="vertical" > <WebView android:id="@+id/content" android:layout_width="fill_parent" android