100+ results for 'c+ forums'
Not the results you expected?
0011_userprofile_slug.py (https://github.com/agiliq/Dinette.git) Python · 146 lines
133 'dinette.supercategory': {
134 'Meta': {'object_name': 'SuperCategory'},
135 'accessgroups': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'can_access_forums'", 'symmetrical': 'False', 'to': "orm['auth.Group']"}),
136 'created_on': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
137 'description': ('django.db.models.fields.TextField', [], {'default': "''"}),
class.sidemenumodule.php (https://github.com/abhishekmica/Garden.git) PHP · 259 lines
1 <?php if (!defined('APPLICATION')) exit();
2 /*
3 Copyright 2008, 2009 Vanilla Forums Inc.
4 This file is part of Garden.
5 Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6 Garden is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
7 You should have received a copy of the GNU General Public License along with Garden. If not, see <http://www.gnu.org/licenses/>.
8 Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com
9 */
QnAEventsTest.php (git://github.com/vanillaforums/Garden.git) PHP · 248 lines
EntityTranslationSettingsTest.php (https://gitlab.com/andecode/theme-spark) PHP · 254 lines
45 [
46 'name' => 'entity_translation_taxonomy',
47 'value' => 'a:3:{s:6:"forums";b:1;s:4:"tags";b:1;s:4:"test";b:0;}',
48 ],
49 [
84 ],
85 [
86 'name' => 'entity_translation_settings_taxonomy_term__forums',
87 'value' => 'a:5:{s:16:"default_language";s:13:"xx-et-current";s:22:"hide_language_selector";i:0;s:21:"exclude_language_none";i:0;s:13:"lock_language";i:0;s:27:"shared_fields_original_only";i:1;}',
88 ],
97 [
98 'name' => 'entity_translation_taxonomy',
99 'value' => 'a:3:{s:6:"forums";b:1;s:4:"tags";b:1;s:4:"test";b:0;}',
100 ],
101 [
forums.html (https://github.com/wincent/masochist.git) HTML · 310 lines
4 <meta content="text/html;charset=UTF-8" http-equiv="Content-Type" />
5 <title>
6 Forums · wincent.com
7 </title>
8 <link
21 <div id="content-wrapper">
22 <div id="content">
23 <div id="breadcrumbs"><a href="/">Home</a> » Forums</div>
24 <h1 class="major">Forums</h1>
34 <tr class="forum">
35 <td>
36 <a href="/forums/synergy">Synergy</a>
37 <br />
38 <span class="annotation"
46 <td>
47 19 June 2015
48 <a href="/forums/synergy/topics/562">view »</a>
49 </td>
50 </tr>
model.php (https://github.com/jarednipper/HSU-common-code.git) PHP · 307 lines
212 //Forums
213 $forum_info = new stdClass;
214 $forum_info->name = 'Forum';
219 $forum_info->num_placed = number_format(array_pop(get_records_sql($sql))->count);
221 $sql = "SELECT COUNT(forums.id) as count FROM ";
222 $sql .= "(SELECT f.id FROM {$CFG->prefix}forum f ";
223 $sql .= "INNER JOIN {$CFG->prefix}forum_discussions fd ON f.id = fd.forum ";
225 $sql .= "INNER JOIN {$CFG->prefix}course c ON f.course = c.id ";
226 $sql .= (!empty($category_id)) ? "WHERE c.category=$category_id " : "";
227 $sql .= "GROUP BY f.id) as forums";
228 $forum_info->num_used = number_format(array_pop(get_records_sql($sql))->count);
purple.css (https://github.com/shroggle/Shroggle.git) CSS · 635 lines
colorMod_indigo.css (https://github.com/shroggle/Shroggle.git) CSS · 655 lines
search_contents.feature (https://gitlab.com/navarrovmn/noosfero) Gherkin Specification · 271 lines
Vector3.php (https://gitlab.com/wesleyvanneck/ImagicalMine) PHP · 545 lines
summary_filter_groups.feature (https://github.com/mackensen/moodle.git) Gherkin Specification · 240 lines
217 When I am on the "c1forum2" "forum activity" page logged in as teacher1
218 And I navigate to "Reports" in current page administration
219 And I select "All forums in course" from the "Forum selected" singleselect
220 And I click on "Groups" "button"
221 And I click on "Clear" "button" in the "filter-groups-popover" "region"
functions.bb-capabilities.php (https://github.com/voidit/nycga2.git) PHP · 348 lines
73 'manage_tags' => true, // Rename, Merge, Destroy
74 'edit_others_favorites' => true,
75 'manage_forums' => true, // Add/Rename forum
76 'delete_forums' => true, // Delete forum
107 'edit_users' => true, //+
108 'edit_others_favorites' => true, //+
109 'manage_forums' => true, //+
110 'delete_forums' => true, //+
333 break;
334 case 'delete_forum':
335 $caps[] = 'delete_forums';
336 break;
337 case 'change_user_password':
ForumDataBMPBean.java (https://github.com/idega/com.idega.block.forum.git) Java · 245 lines
Portal.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 82 lines
class.akismet.plugin.php (https://github.com/Emaratilicious/Addons.git) PHP · 102 lines
1 <?php if (!defined('APPLICATION')) exit();
2 /**
3 * @copyright Copyright 2008, 2009 Vanilla Forums Inc.
4 * @license Proprietary
5 */
14 'SettingsPermission' => 'Garden.Settings.Manage',
15 'Author' => 'Todd Burry',
16 'AuthorEmail' => 'todd@vanillaforums.com',
17 'AuthorUrl' => 'http://www.vanillaforums.org/profile/todd'
index.html.erb (https://github.com/buffpojken/PMOG-OS.git) Ruby HTML · 47 lines
28 <p>The forces of Order build structures of information, toiling endlessly to open <a href="/missions">thoroughfares</a> of thought and conversation. Well-aligned code and clean, bright streets of mindful traffic. <a href="/guide/classes/pathmakers">Pathmakers</a>, <a href="/guide/classes/benefactors">Benefactors</a>, <a href="/guide/classes/bedouin">Bedouin</a>.</p>
30 <p>Chaos watches from the darkness between forgotten forums. As Order busily builds, the wielders of <a href="/guide/tools/mines">destruction</a> and <a href="/guide/tools/portals">distraction</a> scar the eyes with their willful clicking. The "frist!" is theirs and they claim it. <a href="/guide/classes/destroyers">Destroyers</a>, <a href="/guide/classes/seers">Seers</a>, <a href="/guide/classes/vigilantes">Vigilante</a>.</p>
32 <p>But now - a stalemate between enemies. The forces on both sides come in waves against each other, coordinated cobrowsing attacks, equally matched oceans of will pounding on the limits of digital space. Something must give.</p>
alfresco-global.properties (https://gitlab.com/AbdoulMounaf/alfresco-docubase) Properties File · 78 lines
56 # These jobs seem to require Lucene (Unsupported Operation with Solr) so we disable them / set to future date
57 # See https://forums.alfresco.com/en/viewtopic.php?f=52&t=41597
58 # If you want to enable them (and so full WQS functionality), please also set index.subsystem.name=lucene
59 wcmqs.dynamicCollectionProcessor.schedule=0 30 2 * * ? 2060
index.php (https://github.com/rdawe/vrapper.git) PHP · 38 lines
27 <p>Development of Vrapper has moved to our GitHub project at:<br/><a href="https://github.com/vrapper/vrapper">https://github.com/vrapper/vrapper</a></p>
28 <p>GitHub makes it much easier for contributors to submit code changes, bug fixes, and new features. If you'd like to contribute to Vrapper just initiate a Pull Request on our GitHub project.</p>
29 <p>The SourceForge project will remain active because it hosts our website, bug tracker, wiki, forums, direct file downloads, and Eclipse update site. The Git repository on SourceForge will only contain the state of the code for the most recent stable release. Basically, everything other than actively developed code is still on SourceForge.</p>
30 </div>
31 </div>
FormAnimator.vb (https://EmployeeScheduler.svn.codeplex.com/svn) Visual Basic · 314 lines
README.html (https://github.com/zml2008/commandhelper.git) HTML · 95 lines
forumlist_body.html (https://github.com/mungo/phpbb3.git) HTML · 74 lines
1 <table class="tablebg" cellspacing="1" width="100%">
2 <tr>
3 <td class="cat" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF --> </td>
4 </tr>
5 <tr>
49 <p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
50 <!-- ENDIF -->
51 <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
52 <p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
69 <!-- BEGINELSE -->
70 <tr>
71 <td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
72 </tr>
73 <!-- END forumrow -->
ci_cron.php (https://github.com/omikronuk/FUEL-CMS.git) PHP · 96 lines
8 |
9 | By Jonathon Hill (http://jonathonhill.net)
10 | CodeIgniter forum member "compwright" (http://codeigniter.com/forums/member/60942/)
11 |
12 | Created 08/19/2008
34 | Contributions:
35 | -------------------------------------------------------------
36 | "BDT" (http://codeigniter.com/forums/member/46597/) -- Fix for undefined constant CRON_FLUSH_BUFFERS error if the --show-output switch is not set (11/17/2008)
37 | "electromute" (http://codeigniter.com/forums/member/71433/) -- Idea for [--server] commandline option (12/25/2008)
EditUsersProfile.ascx
(https://hg01.codeplex.com/yafnet)
ASP.NET · 387 lines
✨ Summary
This is an ASP.NET web page that allows users to edit their profile information, including username, email, and other settings. The page contains various form fields, dropdown menus, checkboxes, and buttons for updating and canceling changes. It also includes a footer with two buttons: “Update Profile” and “Cancel”.
This is an ASP.NET web page that allows users to edit their profile information, including username, email, and other settings. The page contains various form fields, dropdown menus, checkboxes, and buttons for updating and canceling changes. It also includes a footer with two buttons: “Update Profile” and “Cancel”.
image-uploader.cfc (https://bitbucket.org/akatsaris/paoshopgr.git) ColdFusion CFScript · 72 lines
acp_xbtbb3cker_rss.php (https://gitlab.com/protoneutron/xbtbb3cker) PHP · 67 lines
25 'ACP_FEED_OVERALL_TRACKERS' => 'Enable trackers channel',
26 'ACP_FEED_OVERALL_TRACKERS_EXPLAIN' => 'Includes the channel “All trackers”, which allows you to get a list of forums of trackers.',
27 'ACP_TRFEED_OVERALL' => 'Enable the shared torrent and comment channel',
28 'ACP_TRFEED_OVERALL_EXPLAIN' => 'New torrents and conference comments.',
35 'ACP_TRFEED_FORUM' => 'Enable forum channels',
36 'ACP_TRFEED_FORUM_EXPLAIN' => 'New torrents and comments from individual forums.',
37 'ACP_TRFEED_TOPIC' => 'Enable topic channels',
38 'ACP_TRFEED_TOPIC_EXPLAIN' => 'New torrents and comments on individual topics.',
43 'ACP_FEED_TORRENTS_ACTIVE_EXPLAIN' => 'Turns on the active torrents channel, which allows you to receive new active torrents.',
45 'ACP_FEED_ENBLIST' => 'Exclude these forums',
46 'ACP_FEED_ENBLIST_EXPLAIN' => 'Exclude specified forums from channels',
47 'ACP_FEED_TRUEENBLIST' => 'Exclude these forums',
48 'ACP_FEED_TRUEENBLIST_EXPLAIN' => 'If Yes is selected, exclude the forums defined above from the channels, otherwise - include only the above forums',
50 'ACP_FEED_TORRLIMIT' => 'The number of elements on the page to display in torrent channels',
acp_prune_forums.html (https://bitbucket.org/enitarzi/phpbb3-gorgon.git) HTML · 108 lines
34 <!-- ELSEIF S_SELECT_FORUM -->
36 <h1>{L_ACP_PRUNE_FORUMS}</h1>
38 <p>{L_ACP_PRUNE_FORUMS_EXPLAIN}</p>
42 <fieldset>
43 <legend>{L_SELECT_FORUM}</legend>
44 <p>{L_LOOK_UP_FORUMS_EXPLAIN}</p>
45 <dl>
46 <dt><label for="forum">{L_LOOK_UP_FORUM}:</label></dt>
47 <dd><select id="forum" name="f[]" multiple="multiple" size="10">{S_FORUM_OPTIONS}</select></dd>
48 <dd><label><input type="checkbox" class="radio" name="all_forums" value="1" /> {L_ALL_FORUMS}</label></dd>
49 </dl>
typography.css (https://github.com/time-exchange-gr/oscurrency.git) CSS · 321 lines
theme-install.php (https://github.com/MikeLockz/lockwitz.git) PHP · 71 lines
45 $help .= '<p><strong>' . __('For more information:') . '</strong></p>';
46 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes#Adding_New_Themes" target="_blank">Documentation on Adding New Themes</a>') . '</p>';
47 $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>';
48 add_contextual_help($current_screen, $help);
page-recherche.html (https://bitbucket.org/pombredanne/spip-zone-treemap.git) HTML · 53 lines
1 [(#REM) Exclusion des articles, brèves et sites ayant le mot clé "exclu" et des rubriques ]
2 <BOUCLE_exclus_articles(ARTICLES){titre_mot=exclu}{doublons}{lang}><BOUCLE_exclus_articles_forum(FORUMS){id_article}{doublons}></BOUCLE_exclus_articles_forum></BOUCLE_exclus_articles>
3 <BOUCLE_exclus_breves(BREVES){titre_mot=exclu}{doublons}{lang}></BOUCLE_exclus_breves>
4 <BOUCLE_exclus_sites(SITES){titre_mot=exclu}{doublons}><BOUCLE_exclus_articles_sites(SYNDIC_ARTICLES) {id_syndic}{doublons}></BOUCLE_exclus_articles_sites></BOUCLE_exclus_sites>
5 <BOUCLE_exclus_rubriques(RUBRIQUES){titre_mot=exclu}{doublons}{lang}>
6 <BOUCLE_exclus_rub_articles(ARTICLES){id_rubrique}{doublons}{lang}><BOUCLE_exclus_rub_articles_forum(FORUMS){id_article}{doublons}></BOUCLE_exclus_rub_articles_forum></BOUCLE_exclus_rub_articles>
7 <BOUCLE_exclus_rub_breves(BREVES){id_rubrique}{doublons}{lang}></BOUCLE_exclus_rub_breves>
8 <BOUCLE_exclus_rub_sites(SITES){id_rubrique}{doublons}><BOUCLE_exclus_rub_articles_sites(SYNDIC_ARTICLES) {id_syndic}{doublons}></BOUCLE_exclus_rub_articles_sites></BOUCLE_exclus_rub_sites>
9 <BOUCLE_exclus_sousrubriques(RUBRIQUES){id_parent}{doublons}{lang}>
10 <BOUCLE_exclus_sousrub_articles(ARTICLES){id_rubrique}{doublons}{lang}><BOUCLE_exclus_sousrub_articles_forum(FORUMS){id_article}{doublons}></BOUCLE_exclus_sousrub_articles_forum></BOUCLE_exclus_sousrub_articles>
11 <BOUCLE_exclus_sousrub_breves(BREVES){id_rubrique}{doublons}{lang}></BOUCLE_exclus_sousrub_breves>
12 <BOUCLE_exclus_sousrub_sites(SITES){id_rubrique}{doublons}><BOUCLE_exclus_sousrub_articles_sites(SYNDIC_ARTICLES) {id_syndic}{doublons}></BOUCLE_exclus_sousrub_articles_sites></BOUCLE_exclus_sousrub_sites>
forum_upgrade.php (https://bitbucket.org/pombredanne/spip-zone-treemap.git) PHP · 92 lines
36 # mise a jour de (id_article,id_breve,...) vers (objet,id_objet)
37 if (version_compare($current_version, '1.1','<')) {
38 echo "<h4>MISE A JOUR DES FORUMS (objet,id_objet)</h4>";
39 sql_alter("TABLE `spip_forum` ADD `id_objet` bigint(21) DEFAULT 0 NOT NULL AFTER `id_forum`");
40 sql_alter("TABLE `spip_forum` ADD `objet` VARCHAR (25) DEFAULT '' NOT NULL AFTER `id_objet`");
76 sql_drop_table("spip_mots_forum");
78 effacer_meta("mots_cles_forums");
79 effacer_meta("forums_titre");
80 effacer_meta("forums_texte");
81 effacer_meta("forums_urlref");
82 effacer_meta("forums_afficher_barre");
83 effacer_meta("formats_documents_forum");
84 effacer_meta("forums_publics");
forum.html (https://bitbucket.org/pombredanne/spip-zone-treemap.git) HTML · 76 lines
locking-infinite-scroll.js (https://github.com/vivid-planet/library.git) JavaScript · 116 lines
Profile.psm1 (https://bitbucket.org/vbsampath/scripts.git) Powershell · 132 lines
screen-user-settings.php (https://github.com/livinglab/openlab.git) PHP · 129 lines
9 function ass_group_subscription_notification_settings() {
10 // get forum type
11 $forums = ass_get_forum_type();
13 // no forums installed? stop now!
14 if ( ! $forums ) {
15 return;
16 }
30 <?php
31 // only add the following options if BP's bundled forums are installed...
32 // @todo add back these options for bbPress if possible.
33 ?>
35 <?php if ( $forums == 'buddypress' ) :
36 if ( ! $replies_to_topic = bp_get_user_meta( bp_displayed_user_id(), 'ass_replies_to_my_topic', true ) ) {
37 $replies_to_topic = 'yes';
Feeds.md (https://gitlab.com/AntoninCurtit/fdroid-website) Markdown · 57 lines
17 If you have an account on GitLab you can watch the F-Droid repos, or subscribe to atom feeds for them. A feed including actions from all fdroid repositories is available at <https://gitlab.com/fdroid.atom>.
19 ### Forums
21 You can subscribe to new [forum](https://forum.f-droid.org/) posts and threads via the following URLs:
email-unsubscribe.lisp (https://github.com/eslick/cl-registry.git) Lisp · 71 lines
21 (name (and user (user-namestring user)))
22 (type (email-unsubscribe-type widget))
23 (forums-p (and user (get-preference :forum-subscriber user)))
24 (updates-p (and user (get-preference :update-subscriber user))))
25 (flet ((process-unsubscribes (&key forums updates unsubscribe &allow-other-keys)
26 (when unsubscribe
27 (when forums
28 (setf (get-preference :forum-subscriber user) nil))
29 (when updates
60 (when forums-p
61 (htm " ")
62 (render-checkbox "forums" (string-equal type "forums"))
63 (htm " " (str #!"forum notifications")
64 (:br)))
memcache.php (https://github.com/GradientStudios/Gradient-Studios-Website.git) PHP · 152 lines
Permissions.php (https://gitlab.com/ElvisAns/tiki) PHP · 180 lines
forums.php (https://code.google.com/p/phpbbex/) PHP · 160 lines
2 /**
3 *
4 * acp_forums [Russian]
5 *
6 * @package language
7 * @version $Id: forums.php 9896 2009-07-31 12:46:15Z Kellanved $
8 * @copyright (c) 2005 phpBB Group
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
55 'DECIDE_MOVE_DELETE_CONTENT' => '??????? ?????????? ??? ??????????? ? ?????',
56 'DECIDE_MOVE_DELETE_SUBFORUMS' => '??????? ????????? ??? ??????????? ? ?????',
57 'DEFAULT_STYLE' => '????? ?? ?????????',
58 'DELETE_ALL_POSTS' => '??????? ?????????',
MultiFileWriter.h (https://github.com/MediaPortal/MediaPortal-1.git) C Header · 124 lines
DisplaytypeDAO.cfc (git://github.com/meldsolutions/Meld-Forums.git) ColdFusion CFScript · 193 lines
1 <!---This file is part of the Meld Forums application.
3 Meld Forums is licensed under the GPL 2.0 license
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 --->
19 <cfcomponent displayname="DisplaytypeDAO" output="false" extends="MeldForums.com.meldsolutions.core.MeldDAO">
20 <!---^^GENERATEDSTART^^--->
21 <cfset variables.instance = StructNew() />
default.php (https://github.com/ghoppe/Garden.git) PHP · 83 lines
GeneralClientTest.cs (https://Geeba.svn.codeplex.com/svn) C# · 405 lines
48 [TestMethod()]
49 [DeploymentItem("GeebaClient.exe")]
50 public void DurableSubForumsTest()
51 {
52 string topic = AddNewSubForum();
59 User user = _target.server.serverEntry();
60 bool found = false;
61 foreach (GSubForum sf in _target.server.serverGetSubForums())
62 {
63 if (sf.topic.Equals(topic))
363 {
364 bool actual = false;
365 foreach (GSubForum sf in _target.server.serverGetSubForums())
366 {
367 if (sf.topic.Equals(topic))
base.html (https://github.com/GunioRobot/smshelp.git) HTML · 86 lines
FillCommand.php (https://gitlab.com/wesleyvanneck/ImagicalMine) PHP · 89 lines
fragment.html (https://github.com/jupiterjs/javascriptmvc-site.git) HTML · 469 lines
49 <li><a href="/index.html">Home</a></li>
50 <li class="active"><a href="/docs/index.html">Docs</a></li>
51 <li><a href="http://forum.javascriptmvc.com">Forums</a></li>
52 <li><a href="http://github.com/bitovi/javascriptmvc">Code</a></li>
53 <li><a href="http://twitter.com/javascriptmvc">Twitter</a></li>
RandomTeleport.java (https://gitlab.com/vinnyjth/HungerCraft) Java · 96 lines
13 // | The random location methods contain code made by NuclearW |
14 // | based on his SpawnArea plugin: |
15 // | http://forums.bukkit.org/threads/tp-spawnarea-v0-1-spawns-targetPlayers-in-a-set-area-randomly-1060.20408/ |
16 // *------------------------------------------------------------------------------------------------------------*
blackberry_ui_menu_item.js (https://github.com/jasondscott/WebWorks-API-Docs.git) JavaScript · 80 lines
28 * @callback {function} [onClick] A parameter to specify the function to call when the user clicks the menu item.
29 * @throws {Exception} If the onClick callback is supplied when isSeparator is true, an exception will be thrown.
30 * @learns {Sample - Menu Items} http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Adding-Menu-Items-using-the-BlackBerry-WebWorks-SDK/ta-p/516885 Example that demonstrates how to use the Menu API to
31 * create a custom application menu in a BlackBerry WebWorks application [BlackBerry Developer Resource Center].
32 * @example
index_flat.tpl (https://github.com/xiaodi/Core.git) Smarty Template · 67 lines
19 <th align="left">
20 <img src="{URL->TEMPLATE}/images/folder.png" class="icon1616" alt="•" />
21 <a href="{FORUMS->URL->LIST}">{FORUMS->name}</a>
22 </th>
23 {/IF}
31 <td colspan="4">
32 <img src="{URL->TEMPLATE}/images/folder.png" class="icon1616" alt="•" />
33 <a href="{FORUMS->URL->INDEX}">{FORUMS->name}</a><p>{FORUMS->description}</p>
34 </td>
35 {ELSE}
36 <td width="55%">
37 <h3><a href="{FORUMS->URL->LIST}">{FORUMS->name}</a>{IF FORUMS->new_message_check}<span class="new-flag[hide,{FORUMS->forum_id}]"> <span class="new-indicator">({LANG->NewMessages})</span></span>{/IF}</h3>
38 <p>{FORUMS->description}</p>
39 {IF FORUMS->URL->MARK_READ}<a class="icon icon-tag-green" href="{FORUMS->URL->MARK_READ}" onclick="return Phorum.markRead('forums', {FORUMS->forum_id})">{LANG->MarkForumRead}</a> {/IF}
40 {IF FORUMS->URL->FEED}<a class="icon icon-feed" href="{FORUMS->URL->FEED}">{FEED}</a>{/IF}
test_utils_sitemap.py (https://gitlab.com/e0/scrapy) Python · 215 lines
about.inc.php (https://github.com/hansek/revolution.git) PHP · 38 lines
11 $_lang['help_main_subhead'] = 'ראה להלן בכדי לקבל את העזרה הדרושה לפרויקט MODX שלך
12 מצא פרטים נוספים ב- <a href="http://modx.com/support">modx.com/support</a> או התקשר 14697776639+';
13 $_lang['forums'] = 'פורומים';
14 $_lang['forums_title'] = 'פורומים של הקהילה על MODX';
15 $_lang['forums_description'] = 'עזרה חינם מהקהילה';
16 $_lang['forums_link'] = 'http://forums.modx.com';
17 $_lang['docs'] = 'תיעוד - דוקומנטציה';
18 $_lang['docs_title'] = 'קרא את המדריך המופלא! (MODX)';
database.py (https://gitlab.com/valeth/apex-sigma-legacy) Python · 152 lines
forums_controller.rb (https://github.com/captproton/rboard.git) Ruby · 126 lines
1 class Admin::ForumsController < Admin::ApplicationController
2 before_filter :store_location, :only => [:index, :show]
3 before_filter :find_forum, :except => [:new, :create, :index]
4 before_filter :find_category
6 # Shows all top-level forums.
7 def index
8 @forums = Forum.without_parent.regardless_of_active
12 def new
13 @forum = if @category
14 @category.forums.build
15 else
16 Forum.new
17 end
19 find_forums
20 end
solution_blue.css (https://github.com/shroggle/Shroggle.git) CSS · 686 lines
ForumController.cs
(https://hg01.codeplex.com/nopc23multistore)
C# · 0 lines
✨ Summary
This is a C# code for a Forum management system, specifically a controller class that handles CRUD (Create, Read, Update, Delete) operations for forums and forum groups in an e-commerce platform. It uses NopCommerce’s built-in services to interact with the database and perform authorization checks based on user permissions.
This is a C# code for a Forum management system, specifically a controller class that handles CRUD (Create, Read, Update, Delete) operations for forums and forum groups in an e-commerce platform. It uses NopCommerce’s built-in services to interact with the database and perform authorization checks based on user permissions.
14 public class ForumController : BaseNopController
15 {
16 private readonly IForumService _forumService;
17 private readonly IDateTimeHelper _dateTimeHelper;
18 private readonly ILocalizationService _localizationService;
19 private readonly IPermissionService _permissionService;
21 public ForumController(IForumService forumService,
22 IDateTimeHelper dateTimeHelper, ILocalizationService localizationService,
23 IPermissionService permissionService)
24 {
25 this._forumService = forumService;
26 this._dateTimeHelper = dateTimeHelper;
27 this._localizationService = localizationService;
dce.Bug-6114.sql (https://github.com/MonetDB/MonetDB.git) SQL · 264 lines
22 );
24 CREATE TABLE forums(
25 id BIGINT NOT NULL PRIMARY KEY,
26 title VARCHAR(80) NOT NULL,
174 ALTER TABLE comment_tags ADD FOREIGN KEY(comment_id) REFERENCES comments(id);
175 ALTER TABLE comment_tags ADD FOREIGN KEY(tag_id) REFERENCES tags(id);
176 ALTER TABLE forums ADD FOREIGN KEY(moderator) REFERENCES persons(id);
177 ALTER TABLE forum_persons ADD FOREIGN KEY(forum_id) REFERENCES forums(id);
178 ALTER TABLE forum_persons ADD FOREIGN KEY(person_id) REFERENCES persons(id);
179 ALTER TABLE forum_tags ADD FOREIGN KEY(forum_id) REFERENCES forums(id);
180 ALTER TABLE forum_tags ADD FOREIGN KEY(tag_id) REFERENCES tags(id);
181 ALTER TABLE friends ADD FOREIGN KEY(src) REFERENCES persons(id);
197 ALTER TABLE places ADD FOREIGN KEY(isPartOf) REFERENCES places(id);
198 ALTER TABLE posts ADD FOREIGN KEY(creator) REFERENCES persons(id);
199 ALTER TABLE posts ADD FOREIGN KEY(forum_id) REFERENCES forums(id);
200 ALTER TABLE posts ADD FOREIGN KEY(place_id) REFERENCES places(id);
201 ALTER TABLE post_tags ADD FOREIGN KEY(post_id) REFERENCES posts(id);
cf_forums_controller_test.rb (git://github.com/ckruse/cforum.git) Ruby · 332 lines
3 require 'test_helper'
5 class Admin::CfForumsControllerTest < ActionController::TestCase
6 test "index: should not answer because of anonymous" do
7 assert_raise CForum::ForbiddenException do
25 get :index
26 assert_not_nil assigns(:forums)
27 assert_blank assigns(:forums)
37 get :index
38 assert_not_nil assigns(:forums)
39 assert_equal 2, assigns(:forums).length
231 assert_not_nil assigns(:cf_forum)
232 assert_redirected_to admin_forums_url()
233 end
ForumThreadController.php (https://github.com/bizley/yii2-podium.git) PHP · 237 lines
157 $categories = Category::find()->orderBy(['name' => SORT_ASC]);
158 $forums = Forum::find()->orderBy(['name' => SORT_ASC]);
159 $list = [];
160 $options = [];
161 foreach ($categories->each() as $cat) {
162 $catlist = [];
163 foreach ($forums->each() as $for) {
164 if ($for->category_id == $cat->id) {
165 $catlist[$for->id] = (User::can(Rbac::PERM_UPDATE_THREAD, ['item' => $for]) ? '* ' : '')
presence.ts (https://github.com/PreMiD/Presences.git) TypeScript · 252 lines
watches_controller.rb (https://github.com/ekcell/openmind.git) Ruby · 335 lines
1 class WatchesController < ApplicationController
2 helper :idea_action, :forums, :products
3 before_filter :login_required, :except => [ :create_product_watch_from_check_for_update ]
4 cache_sweeper :forums_sweeper, :only => [ :create_forum_watch,
88 unless @forum.can_see? current_user or prodmgr?
89 flash[:error] = ForumsController.flash_for_forum_access_denied(current_user)
90 redirect_to redirect_path_on_access_denied(current_user)
91 end
119 unless @topic.forum.can_see? current_user or prodmgr?
120 flash[:error] = ForumsController.flash_for_forum_access_denied(current_user)
121 redirect_to redirect_path_on_access_denied(current_user)
122 end
197 unless @forum.can_see? current_user or prodmgr?
198 flash[:error] = ForumsController.flash_for_forum_access_denied(current_user)
199 redirect_to redirect_path_on_access_denied(current_user)
200 end
forums_controller_test.rb (https://github.com/assimovt/lovd-by-less.git) Ruby · 379 lines
8 class ForumsControllerTest < ActionController::TestCase
10 # include ForumsTestHelper
12 ##
35 assert_template 'index'
36 assert_no_tag :tag => 'a', :content => "Create a new forum"
37 forums.each do |forum|
38 assert_no_tag :tag => "a", :attributes => {:href => forum_url(forum), :class => "destroy"},
39 :parent => {:tag => "div", :attributes => {:id => dom_id(forum)}}
261 put :update, {:id => forums(:one).id, :forum => valid_forum_attributes}, {:user => profiles(:admin).id}
262 assert_redirected_to :controller => 'forums', :action => 'index' #, :id => forums(:one).to_param
263 end
264 end
371 assert_difference "Forum[forums(:two).id].position", -1 do
372 post :update_positions, {:forums_list=>[forums(:two).id, forums(:one).id]}, {:user => profiles(:admin).id}
373 assert_response 200
374 end
test_views.py (https://github.com/erikrose/kitsune.git) Python · 277 lines
4 from django.contrib.auth.models import User
6 from forums.models import Forum, Thread
7 from forums.tests import ForumTestCase
8 from forums.events import NewThreadEvent, NewPostEvent
9 from sumo.tests import get, post
10 from sumo.urlresolvers import reverse
16 def test_read_without_permission(self):
17 """Listing posts without the view_in_forum permission should 404."""
18 response = get(self.client, 'forums.posts',
19 args=['restricted-forum', 6])
20 eq_(404, response.status_code)
23 """Posting without view_in_forum permission should 404."""
24 self.client.login(username='jsocol', password='testpass')
25 response = post(self.client, 'forums.reply', {'content': 'Blahs'},
26 args=['restricted-forum', 6])
27 eq_(404, response.status_code)
ForumsMainViewModel.cs (https://github.com/Drutol/MALClient.git) C# · 244 lines
97 ViewModelLocator.NavMgr.ResetMainBackNav();
98 ViewModelLocator.NavMgr.RegisterBackNav(PageIndex.PageAnimeList, null);
99 args = new ForumsNavigationArgs { Page = ForumsPageIndex.PageIndex };
100 }
101 CurrentBackNavRegistrar = null;
160 }
162 ViewModelLocator.GeneralMain.Navigate(PageIndex.PageForumIndex,new ForumsBoardNavigationArgs(board));
163 }
222 }
223 #if ANDROID
224 ViewModelLocator.GeneralMain.Navigate(PageIndex.PageForumIndex, new ForumsTopicNavigationArgs("1626591", null));
225 #else
226 ViewModelLocator.GeneralMain.Navigate(PageIndex.PageForumIndex, new ForumsTopicNavigationArgs("1499207", null));
ThreadMove.ascx.cs (https://bitbucket.org/chadjimylos/livepay.git) C# · 258 lines
11 using System.Web.UI.HtmlControls;
13 using CMS.Forums;
14 using CMS.GlobalHelper;
15 using CMS.CMSHelper;
152 /// <summary>
153 /// Loads the forums dropdownlist for topic move.
154 /// </summary>
155 private void LoadMoveTopicDropdown()
198 if (!DataHelper.DataSourceIsEmpty(dsGroups))
199 {
200 Hashtable forums = new Hashtable();
202 // Get all forums for selected groups
203 string groupWhere = "AND ForumGroupID IN (SELECT GroupID FROM Forums_FOrumGroup WHERE " + where + ") ";
204 DataSet dsForums = ForumInfoProvider.GetForums(" ForumOpen = 1 " + " AND NOT ForumID = " + currentForumId + groupWhere, "ForumDisplayName", 0, "ForumID, ForumDisplayName, ForumGroupID");
206 if (!DataHelper.DataSourceIsEmpty(dsForums))
match.js (https://github.com/nondanee/UnblockNeteaseMusic.git) JavaScript · 97 lines
discussions_m.php (https://github.com/ChrisBaines/DoveForums.git) PHP · 282 lines
15 * licensing@ellislab.com so we can send you a copy immediately.
16 *
17 * @package Dove Forums
18 * @copyright Copyright (c) 2012 - Christopher Baines
19 * @license http://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
20 * @link http://www.doveforums.com
21 * @since Version 2.0.0
22 * @author Christopher Baines
ShowThreadAction.java (https://github.com/shroggle/Shroggle.git) Java · 175 lines
106 voteInPollRight = AccessGroupManager.isUserFitsForAccessGroup(forumThread.getSubForum().getForum().getVoteInPollRight(),
107 user, site);
108 manageSubFroumsRight = AccessGroupManager.isUserFitsForAccessGroup(forumThread.getSubForum().getForum().getManageSubForumsRight(),
109 user, site);
110 managePostsRight = AccessGroupManager.isUserFitsForAccessGroup(forumThread.getSubForum().getForum().getManagePostsRight(),
PostView.ascx (https://bitbucket.org/kudutest/kenticogit.git) ASP.NET · 115 lines
1 <%@ Control Language="C#" AutoEventWireup="true" Inherits="CMSModules_Forums_Controls_Posts_PostView"
2 CodeFile="PostView.ascx.cs" %>
3 <%@ Register Src="~/CMSAdminControls/UI/UniGrid/UniGrid.ascx" TagName="UniGrid" TagPrefix="cms" %>
4 <%@ Register Src="~/CMSAdminControls/UI/PageElements/PageTitle.ascx" TagName="PageTitle"
5 TagPrefix="cms" %>
6 <%@ Register Src="~/CMSModules/Forums/Controls/Posts/ForumPost.ascx" TagName="ForumPost"
7 TagPrefix="cms" %>
8 <%@ Register Src="~/CMSModules/Forums/Controls/Posts/PostEdit.ascx" TagName="PostEdit"
109 <asp:Label runat="server" CssClass="ErrorLabel" ID="lblError" EnableViewState="false"
110 Visible="false" />
111 <cms:UniGrid runat="server" ID="UniGrid" GridName="~/CMSModules/Forums/Controls/Posts/AttachmentList.xml"
112 Visible="false" OrderBy="AttachmentFileName" />
113 </asp:Panel>
EmbedButton.tsx (https://github.com/vanilla/vanilla.git) TypeScript · 77 lines
ForumDispatchHelper.java (https://github.com/shroggle/Shroggle.git) Java · 158 lines
60 if (request.getDispatchForum() == ForumDispatchType.SHOW_FORUM) {
61 final ShowForumService showForumService = new ShowForumService();
63 return showForumService.execute(request.getForumId(), request.getWidgetId(),
64 request.isShowOnUserPages());
65 } else if (request.getDispatchForum() == ForumDispatchType.SHOW_SUBFORUM) {
66 final ShowSubForumService showSubForumService = new ShowSubForumService();
68 return showSubForumService.execute(request.getSubForumId(), request.getWidgetId(),
74 request.isShowOnUserPages());
75 } else if (request.getDispatchForum() == ForumDispatchType.SHOW_CREATE_SUBFORUM) {
76 final CreateSubForumService createSubForumService = new CreateSubForumService();
77 createSubForumService.setHttpServletRequest(httpServletRequest);
80 request.isShowOnUserPages());
81 } else if (request.getDispatchForum() == ForumDispatchType.SHOW_RENAME_SUBFORUM) {
82 final CreateSubForumService createSubForumService = new CreateSubForumService();
83 createSubForumService.setHttpServletRequest(httpServletRequest);
discussionHooks.tsx (https://github.com/vanilla/vanilla.git) TypeScript · 233 lines
profilepanel.cfm
(git://github.com/meldsolutions/Meld-Forums.git)
ColdFusion · 86 lines
✨ Summary
This ColdFusion code generates a profile panel for a user, displaying their information and options to moderate posts. It includes a menu on the left and various panels on the right, such as an overview, avatar, and settings. The content of each panel is determined by the rc.panel
variable, which can take different values depending on the user’s permissions and preferences.
This ColdFusion code generates a profile panel for a user, displaying their information and options to moderate posts. It includes a menu on the left and various panels on the right, such as an overview, avatar, and settings. The content of each panel is determined by the rc.panel
variable, which can take different values depending on the user’s permissions and preferences.
NSDate+InternetDateTime.m (https://github.com/everettjf/TomatoRead.git) Objective C · 157 lines
128 RFC3339String = [RFC3339String stringByReplacingOccurrencesOfString:@"Z" withString:@"-0000"];
129 // Remove colon in timezone as it breaks NSDateFormatter in iOS 4+.
130 // - see https://devforums.apple.com/thread/45837
131 if (RFC3339String.length > 20) {
132 RFC3339String = [RFC3339String stringByReplacingOccurrencesOfString:@":"
GlobalRedirectTest.php (https://gitlab.com/Drulenium-bot/redirect) PHP · 218 lines
WatchAppUserSessionSync.swift (https://github.com/GitHawkApp/GitHawk.git) Swift · 103 lines
README.md (https://github.com/syncfusion/ej2-angular-ui-components.git) Markdown · 52 lines
38 Product support is available for through following mediums.
40 * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=filemanager) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=filemanager).
41 * New [GitHub issue](https://github.com/syncfusion/ej2-angular-ui-components/issues/new).
42 * Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_campaign=filemanager) with tag `syncfusion` and `ej2`.
Polygon3D.cs (https://hg.codeplex.com/mecprev) C# · 95 lines
DefaultLocalMavenRepositoryLocatorTest.groovy (https://github.com/andrewhj-mn/gradle.git) Groovy · 188 lines
CMyRedirector.h (git://github.com/gamman/MRPT.git) C Header · 179 lines
options.php (https://gitlab.com/billyprice1/bdApi) PHP · 215 lines
showabos.php (http://avecms.googlecode.com/svn/trunk/) PHP · 98 lines
68 }
70 $topic['autorlink'] = "index.php?module=forums&show=userprofile&user_id=" . $topic['uid'];
71 $topic['link'] = "index.php?module=forums&show=showtopic&toid=".$topic['id']."&fid=" . $topic['forum_id'];
72 $topic['forumslink'] = "index.php?module=forums&show=showforum&fid=" . $topic['forum_id'];
73 $topic['autor'] = $topic['BenutzerName'];
74 $rating = explode(",", $topic['rating']);
80 }
82 $GLOBALS['AVE_Template']->assign("navigation", "<a class='forum_links_navi' href='index.php?module=forums'>"
83 . $GLOBALS['mod']['config_vars']['PageNameForums'] . "</a>"
84 . $GLOBALS['mod']['config_vars']['ForumSep']
85 . "<a class='forum_links_navi' href='index.php?module=forums&show=search_mask'>"
EditForum.cs (https://SPFORUMS.svn.codeplex.com/svn) C# · 112 lines
2 using System.Web;
3 using System.Web.UI.WebControls;
4 using BilSimser.SharePoint.WebParts.Forums.Controls.Base;
5 using BilSimser.SharePoint.WebParts.Forums.Controls.Common;
6 using BilSimser.SharePoint.WebParts.Forums.Core.Domain.Entities;
7 using BilSimser.SharePoint.WebParts.Forums.Core.Service.Application;
9 namespace BilSimser.SharePoint.WebParts.Forums.Controls
10 {
11 public class EditForum : AdminBaseControl
21 public EditForum()
22 {
23 ParentLink = ForumApplication.Instance.GetLink(SharePointForumControls.ManageForums);
24 }
ForumController.cs
(https://hg01.codeplex.com/nopcommerce)
C# · 267 lines
✨ Summary
This C# code defines a ForumController class that handles CRUD (Create, Read, Update, Delete) operations for forums and forum groups in an e-commerce platform. It provides methods to list, create, edit, and delete forums and forum groups, with authorization checks and validation to ensure data integrity.
This C# code defines a ForumController class that handles CRUD (Create, Read, Update, Delete) operations for forums and forum groups in an e-commerce platform. It provides methods to list, create, edit, and delete forums and forum groups, with authorization checks and validation to ensure data integrity.
14 public partial class ForumController : BaseNopController
15 {
16 private readonly IForumService _forumService;
17 private readonly IDateTimeHelper _dateTimeHelper;
18 private readonly ILocalizationService _localizationService;
19 private readonly IPermissionService _permissionService;
21 public ForumController(IForumService forumService,
22 IDateTimeHelper dateTimeHelper, ILocalizationService localizationService,
23 IPermissionService permissionService)
24 {
25 this._forumService = forumService;
26 this._dateTimeHelper = dateTimeHelper;
27 this._localizationService = localizationService;
topics_controller_test.rb (https://github.com/bennett/communityengine.git) Ruby · 201 lines
80 def test_should_create_topic
81 counts = lambda { [Topic.count, SbPost.count, forums(:rails).topics_count, forums(:rails).sb_posts_count, users(:aaron).sb_posts_count] }
82 old = counts.call
96 def test_should_delete_topic
97 counts = lambda { [SbPost.count, forums(:rails).topics_count, forums(:rails).sb_posts_count] }
98 old = counts.call
111 assert_difference Topic, :count, -1 do
112 login_as :sam
113 delete :destroy, :forum_id => forums(:rails).id, :id => topics(:pdi).id
114 end
115 end
IForumService.cs
(https://hg01.codeplex.com/nopcommerce)
C# · 351 lines
✨ Summary
This is a C# interface that defines a set of methods for managing forums, topics, and posts within an online community. It provides functionality for creating, editing, deleting, and subscribing to content, as well as checking user permissions and calculating page indices. The methods are likely used in a web application or API to manage forum-related data and interactions.
This is a C# interface that defines a set of methods for managing forums, topics, and posts within an online community. It provides functionality for creating, editing, deleting, and subscribing to content, as well as checking user permissions and calculating page indices. The methods are likely used in a web application or API to manage forum-related data and interactions.
237 /// <param name="forumSubscription">Forum subscription</param>
238 void DeleteSubscription(ForumSubscription forumSubscription);
240 /// <summary>
243 /// <param name="forumSubscriptionId">The forum subscription identifier</param>
244 /// <returns>Forum subscription</returns>
245 ForumSubscription GetSubscriptionById(int forumSubscriptionId);
247 /// <summary>
262 /// <param name="forumSubscription">Forum subscription</param>
263 void InsertSubscription(ForumSubscription forumSubscription);
265 /// <summary>
268 /// <param name="forumSubscription">Forum subscription</param>
269 void UpdateSubscription(ForumSubscription forumSubscription);
271 /// <summary>
20090120_sefurl_rules_tiki.sql (https://gitlab.com/ElvisAns/tiki) SQL · 64 lines
25 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`) VALUES('tiki-list_file_gallery.php\\?galleryId=(\\d+)', 'file$1', 'file', 'feature_file_galleries');
26 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`) VALUES('tiki-download_file.php\\?fileId=(\\d+)', 'dl$1', 'file', 'feature_file_galleries');
27 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`) VALUES('tiki-view_forum.php\\?forumId=(\\d+)', 'forum$1', 'forum', 'feature_forums');
28 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`) VALUES('tiki-browse_gallery.php\\?galleryId=(\\d+)', 'gallery$1', 'gallery', 'feature_galleries');
29 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`) VALUES('show_image.php\\?id=(\\d+)', 'image$1', 'image', 'feature_galleries');
52 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`, `order`) VALUES('tiki-list_faqs.php', 'faqs', '', 'feature_faqs', 200);
53 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`, `order`) VALUES('tiki-file_galleries.php', 'files', '', 'feature_file_galleries', 200);
54 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`, `order`) VALUES('tiki-forums.php', 'forums', '', 'feature_forums', 200);
55 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`, `order`) VALUES('tiki-galleries.php', 'galleries', '', 'feature_galleries', 200);
56 INSERT INTO `tiki_sefurl_regex_out` (`left`, `right`, `type`, `feature`, `order`) VALUES('tiki-login_scr.php', 'login', '', '', 200);
UIPostForm.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 159 lines
15 import org.exoplatform.faces.core.event.ExoActionListener;
16 import org.exoplatform.services.communication.forum.Forum;
17 import org.exoplatform.services.communication.forum.ForumService;
18 import org.exoplatform.services.communication.forum.Post;
19 import org.exoplatform.services.communication.forum.Topic;
25 */
26 public class UIPostForm extends UISimpleForm {
27 private ForumService service_ ;
28 private UIStringInput subject_ ;
29 private UITextArea message_ ;
32 private Forum forum_ ;
34 public UIPostForm(ForumService service) throws Exception {
35 super("postForm", "post", null) ;
36 setId("UIPostForm") ;
SettingsView.xaml.cs (https://github.com/salfab/Synotune.git) C# · 182 lines
174 private void TextBox_GotFocus(object sender, RoutedEventArgs e)
175 {
176 // FocusManager.GetFocusedElement does not exist in the developer preview... ( http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/94ccb346-2e4d-426b-8324-3ba7bbcd24fe )
177 this.lastFocusedTextbox = (FrameworkElement)sender;
178 }
view.topic.php (https://github.com/MilkZoft/www.git) PHP · 238 lines
17 <li><a href="<?php print _webBase . _sh . _webLang . _sh . "forums" . _sh . segment(2);?>" title="<?php print __("Back to the forum");?>!"><?php print __("Back");?></a></li>
18 <li><a href="<?php print _webBase . _sh . _webLang . _sh . "forums" . _sh;?>" title="<?php print __("Forums");?>!"><?php print __("Forums");?></a></li>
19 <li><a href="<?php print _webBase . _sh . _webLang . _sh . "users" . _sh . "editprofile" . _sh;?>" title="<?php print __("Edit Profile");?>"><?php print __("Edit Profile");?></a></li>
20 <li><a href="<?php print _webBase . _sh . _webLang . _sh . "users" . _sh . "logout" . _sh . "forums";?>" title="<?php print __("Logout");?>"><?php print __("Logout");?></a></li>
29 <li><a href="<?php print _webBase . _sh . _webLang . _sh . "forums" . _sh . segment(2);?>" title="<?php print __("Back to the forum");?>!"><?php print __("Back");?></a></li>
30 <li><a href="<?php print _webBase . _sh . _webLang . _sh . "forums" . _sh;?>" title="<?php print __("Forums");?>!"><?php print __("Forums");?></a></li>
31 <li><a class="signIn" href="<?php print _webBase . _sh . _webLang . _sh . "users" . _sh . "login" . _sh . "forums";?>" title="<?php print __("Login");?>"><?php print __("Login");?></a></li>
195 </p>
196 <ul class="lsprivileges2">
197 <li><?php print __("You can");?> <a href="<?php print _webBase . _sh . _webLang . _sh . _cpanel . _sh . _forums . _sh . "action" . _sh . "save";?>" title="<?php print __("Create Forums");?>"><?php print __("create");?></a> <?php print __("new forums");?>.</li>
198 <li><?php print __("You can create new topics");?>.</li>
199 <li><?php print __("You can reply to topics");?>.</li>
216 <?php } ?>
217 <?php } else { ?>
218 <p class="noUserInfo"><?php print __("Hi there!, you should");?> <a class="signIn" href="<?php print _webBase . _sh . _webLang . _sh . "users" . _sh . "login" . _sh . "forums";?>" title="<?php print __("Login");?>"><?php print __("login");?></a> <?php print __("to enjoy full access to the forums");?>.
219 <br /><?php print __("If you don't have an account, you can create it");?> <a class="signUp" href="<?php print _webBase . _sh . _webLang . _sh . "users" . _sh . "register" . _sh . "forums";?>" title="<?php print __("Sign up");?>"><?php print __("here");?></a>.
forum.css
(https://bitbucket.org/davcar/bvcms/)
CSS · 637 lines
✨ Summary
This CSS code defines styles for a forum website, including layout, typography, and visual effects such as hover states, collapse/expand animations, and threaded views. It targets various HTML elements, like posts, replies, sub-forums, and tree structures, to create a visually appealing and interactive user interface.
This CSS code defines styles for a forum website, including layout, typography, and visual effects such as hover states, collapse/expand animations, and threaded views. It targets various HTML elements, like posts, replies, sub-forums, and tree structures, to create a visually appealing and interactive user interface.
about.more.html (git://pkgs.fedoraproject.org/kdewebdev) HTML · 173 lines
86.html (https://github.com/wincent/masochist.git) HTML · 97 lines
22 <div id="content">
23 <div id="breadcrumbs">
24 <a href="/">Home</a> » <a href="/forums">Forums</a> »
25 <a href="/forums/synergy">Synergy</a> » Possible to restart
33 <a href="/users/neilio">neilio</a>
34 <span class="when">
35 <a href="/forums/synergy/topics/86"
36 ><time data-relative="true">2005-04-14T13:43:56Z</time></a
37 >
75 <p>This topic is now closed.</p>
76 <div class="links">
77 <a href="/forums/synergy">topic index</a>
78 </div>
79 </div>
lt.yml (https://github.com/knewter/forem.git) YAML · 195 lines
27 updated: Diskusijų lenta buvo atnaujinta.
28 not_updated: Diskusijų lenta negali būti atnaujinta.
29 forums:
30 edit: Redaguoti
31 delete: Trinti
65 forum:
66 header: "Peržiūrima %{title}"
67 forums: Diskusijų lentos
68 new: Naujos diskusijų lentos sukūrimas
69 edit: "Redaguojama %{title} diskusijų lenta"
77 other: "%{count} pranešimai(-ų)"
78 moderator_tools: "Prižiūrėtojo įrankiai"
79 forums:
80 index:
81 title: Diskusijų lentos
PermissionOptions.java (https://github.com/toby78/jforum3-maven.git) Java · 397 lines
115 * @return
116 */
117 public List<Integer> getReadOnlyForums() {
118 return this.readOnly;
119 }
167 * @return
168 */
169 public List<Integer> getAllowedForums() {
170 return this.forums;
272 }
274 public void setModerateForums(int... moderateForums) {
275 this.moderateForums = this.safeList(moderateForums);
326 public void setForums(int... forums) {
327 this.forums = this.safeList(forums);
328 }
ForumUninstallTest.php (https://github.com/drupal/core.git) PHP · 160 lines
41 ]));
42 // Ensure that the field exists before uninstallation.
43 $field_storage = FieldStorageConfig::loadByName('node', 'taxonomy_forums');
44 $this->assertNotNull($field_storage, 'The taxonomy_forums field storage exists.');
50 'description' => '',
51 'parent' => [0],
52 'vid' => 'forums',
53 'forum_container' => 0,
54 ]);
59 'title' => 'A forum post',
60 'type' => 'forum',
61 'taxonomy_forums' => [['target_id' => $term->id()]],
62 ]);
88 // Assert forum is still required.
89 $this->assertSession()->fieldDisabled('uninstall[forum]');
90 $this->assertText('To uninstall Forum, first delete all Forums terms');
92 // Delete any forum terms.
retroshare_jp.ts (https://bitbucket.org/mirrorbot/retroshare) TypeScript · 6351 lines
class.ilLikeForumSearch.php (https://github.com/ILIAS-eLearning/ILIAS.git) PHP · 89 lines
fr_file_index.html (https://github.com/neosoft123/bencho.git) HTML · 85 lines
29 <a href="files/app/controllers/forum_posts_controller_rb.html">app/controllers/forum_posts_controller.rb</a><br />
30 <a href="files/app/controllers/forum_topics_controller_rb.html">app/controllers/forum_topics_controller.rb</a><br />
31 <a href="files/app/controllers/forums_controller_rb.html">app/controllers/forums_controller.rb</a><br />
32 <a href="files/app/controllers/friends_controller_rb.html">app/controllers/friends_controller.rb</a><br />
33 <a href="files/app/controllers/home_controller_rb.html">app/controllers/home_controller.rb</a><br />
46 <a href="files/app/helpers/forum_posts_helper_rb.html">app/helpers/forum_posts_helper.rb</a><br />
47 <a href="files/app/helpers/forum_topics_helper_rb.html">app/helpers/forum_topics_helper.rb</a><br />
48 <a href="files/app/helpers/forums_helper_rb.html">app/helpers/forums_helper.rb</a><br />
49 <a href="files/app/helpers/friends_helper_rb.html">app/helpers/friends_helper.rb</a><br />
50 <a href="files/app/helpers/home_helper_rb.html">app/helpers/home_helper.rb</a><br />
77 <a href="files/lib/authenticated_system_rb.html">lib/authenticated_system.rb</a><br />
78 <a href="files/lib/authenticated_test_helper_rb.html">lib/authenticated_test_helper.rb</a><br />
79 <a href="files/lib/forums_test_helper_rb.html">lib/forums_test_helper.rb</a><br />
80 <a href="files/lib/less_form_builder_rb.html">lib/less_form_builder.rb</a><br />
81 <a href="files/lib/sized_gravatar_source_rb.html">lib/sized_gravatar_source.rb</a><br />
topmenu.inc.php (https://github.com/splittingred/revolution.git) PHP · 130 lines
ModerationActionsTestCase.java (https://github.com/almassari/jforum3.git) Java · 180 lines
140 one(topicRepository).get(5); will(returnValue(new Topic()));
141 one(service).deleteTopics(Arrays.asList(new Topic(), new Topic()), moderationLog);
142 one(viewService).redirectToAction(Domain.FORUMS, Actions.SHOW, 1);
143 }});
151 context.checking(new Expectations() {{
152 one(roleManager).getCanDeletePosts(); will(returnValue(false));
153 one(viewService).redirectToAction(Domain.FORUMS, Actions.SHOW, 1);
154 }});
163 one(roleManager).getCanApproveMessages(); will(returnValue(true));
164 one(service).doApproval(1, Arrays.asList(new ApproveInfo[0]));
165 one(viewService).redirectToAction(Domain.FORUMS, Actions.SHOW, 1);
166 }});
salesforce.md (https://github.com/todogroup/guides.git) Markdown · 43 lines
21 > “Open source is a window for (external developers) to see the great engineering that’s going on inside of the company that they otherwise wouldn’t be able to.” – Ian Varley, Software Architect at Salesforce.
23 The open source program also focuses on expanding the communities that align behind the company’s own open source projects. The communities don’t just use their software, they also contribute to it. So they focus on creating “on ramps” to their projects such as a clear approval process for patches, improved documentation, healthy forums, and welcoming and responsive maintainers.
25 > “We’ve succeeded when we have given people ways to get involved with our projects that don’t require them to have a PhD or to have been working in a similar area for 25 years. You need ways for them to get involved quickly,” Varley says.
Framework.Control.NoticeCollector.php (http://lussumo-vanilla.googlecode.com/svn/trunk/) PHP · 66 lines
6 * Vanilla is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
7 * You should have received a copy of the GNU General Public License along with Vanilla; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
8 * The latest source code is available at www.vanilla1forums.com
9 * Contact Mark O'Sullivan at mark [at] lussumo [dot] com
10 *
23 * Lussumo's Software Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License along with Vanilla; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 * The latest source code is available at www.vanilla1forums.com
26 * Contact Mark O'Sullivan at mark [at] lussumo [dot] com
27 *
Topics.vb (https://activeforums.svn.codeplex.com/svn) Visual Basic · 96 lines
install-macos.rst (https://github.com/anki/vector-python-sdk.git) ReStructuredText · 80 lines
browse-forum.jsp (https://github.com/BotLibre/BotLibre.git) JavaServer Pages · 74 lines
23 <head>
24 <jsp:include page="head.jsp"/>
25 <title>Browse Forums - <%= Site.NAME %></title>
26 <meta name="description" content="Browse the forum directory"/>
27 <meta name="keywords" content="browse, directory, forums"/>
37 <jsp:include page="error.jsp"/>
38 <% if (bean.getCategory() == null) { %>
39 <h1><img src="images/forum.png" class="admin-banner-pic" style="vertical-align:middle"><%= loginBean.translate(" Forums") %></h1>
40 <% if (domainBean.hasValidInstance()) { %>
41 <p>
42 <%= loginBean.translate("Forums lets you create your own forums for a website or mobile app.") %><br/>
43 <a target="_blank" href="browse?browse-type=Forum&domain=1"><%= loginBean.translate("Click here to browse our forums.") %></a>
44 </p>
45 <% } else { %>
46 <p><%= loginBean.translate("Browse our forums, or add your own forum to your own website or mobile app.") %></p>
47 <% } %>
48 <% } %>
http:::www.gameinformer.com:b:features:archive:2010:10:13:dota-2-announced-details.aspx (https://github.com/jiankaidang/WebCrawler.git) ASP.NET · 2159 lines
254 <ul class="dropdown">
255 <li><a id="ctl00_fragment_d6b7ad09_9e06_4823_8920_0b7ae2ce576e_ctl01_userBlogLink" href="/blogs/members/default.aspx">Blogs</a></li>
256 <li><a id="ctl00_fragment_d6b7ad09_9e06_4823_8920_0b7ae2ce576e_ctl01_forumsLink" href="/forums/default.aspx">Forums</a></li>
257 <li><a href="/w/">Guides</a></li>
258 <li><a id="ctl00_fragment_d6b7ad09_9e06_4823_8920_0b7ae2ce576e_ctl01_contestBlogLink" href="/b/contests/default.aspx">Contests</a></li>
731 </div>
732 <div class="post-content user-defined-markup">
733 <p><img itemprop="image" src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/announce610.jpg" style="max-width:610px;" border="0" alt="" /><br /><br />The rumors and speculation can cease. Valve is making Dota 2, we've played it, and it's already amazing even though it's not coming out until next year. And we haven't yet laid eyes on Dota 2's biggest innovation: a radical approach to integrating the game's community back into the gameplay itself.<br /><br /><span style="font-size:medium;"><b>What's a Dota?</b></span><br /><br />Dota 2 takes its name from the Warcraft III mod Defense of the Ancients, a drastic change to that stock real-time strategy title, which pits two teams of five players against each other in highly competitive, 40-minute or longer matches. Unlike most RTSes, DotA has each player controlling a single hero who levels up and stockpiles gold to purchase powerful equipment and consumables. As computer-controlled armies continually spawn and rush the enemy's base, players are responsible for using their powerful heroes to turn the tide of the battle in their favor.<br /><br />DotA quickly gained massive popularity on Blizzard's Battle.net service, with the growing community utilizing user-created channels and the rudimentary custom game browser to connect players. As mods tend to do, it branched into several variations as time passed. Eventually, one rose to the top: <a target="_blank" href="http://www.getdota.com/">DotA-Allstars</a>, originally created by Steve "Guinsoo" Feak (now employed with Riot Games designing <a target="_blank" href="http://www.leagueoflegends.com">League of Legends</a>). Allstars is currently maintained and updated by <a target="_blank" href="http://www.playdota.com/forums/blogs/icefrog/">IceFrog</a> (who declined to give his real name), who was hired by Valve in 2009 and is now working on Dota 2.</p>
734 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_bloodseeker.jpg" style="max-width:610px;" border="0" alt="" /><br /><br />DotA enjoys such unprecedented popularity for a number of interconnected reasons. The game has a skill curve as long and as wide as Counter-Strike or StarCraft; expert players dominate matches with lesser-skilled individuals solely through manual dexterity and hard-won knowledge. Extensive upgrade paths allow players to combine items into more powerful versions, gaining thousands of hit points or powerful life-stealing attacks. Team play is hugely rewarded; though the map is large enough for all ten players to spread out and fight creeps on their own without anyone engaging anyone else directly, late-game play is almost invariably centered around giant 3v3 or even 5v5 team fights. <br /><br />The mod has benefited from excellent, long-running support in the form of constant updates that add new content or address balance issues. Said balance is good enough that no dominant team composition or strategy has ever taken hold for long. The heroes are varied enough that a match featuring different team rosters can take on an entirely different character from the last.<br /><br />The enormous following generated by DotA's deep gameplay is unprecedented. Today, years after its release, a third-party site hosting an update can get hammered by more than six million downloads in a day. The mod spawned a new subgenre, commonly referred to as "action-RTS," that contains two successful commercial games in League of Legends and Heroes of Newerth (and the unfortunate flop Demigod) as well as DotA-Allstars itself. Valve Corporation, the company beloved for its Half-Life, Counter-Strike, Team Fortress, and Left 4 Dead series as well as its outstanding Steam digital distribution and matchmaking platform, is making its entry into this still-growing genre next year with Dota 2.</p>
735 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_drowranger.jpg" style="max-width:610px;" border="0" alt="" /></p>
736 <p><span style="font-size:medium;"><b>What Does Valve Bring?</b></span><br /><br />Valve's approach to Dota 2 is unusual in that the gameplay itself is remaining almost entirely untouched. "Our first reaction is to assume that [design elements are] there for a reason," project lead Erik Johnson explains. "IceFrog is one of the smartest designers we've ever met. He's made so many good decisions over the years in building the product. He virtually never makes a decision that doesn't have some reasoning behind it and a way to pick apart the logic behind it." This approach means that Dota 2 basically is DotA-Allstars with new technology.<br /><br />DotA-Allstars' roster of 100+ heroes is being brought over in its entirety. The single map games take place on is functionally identical to the one that you can download for free today in the Warcraft III mod. Items, skills, and upgrade paths are unchanged. Some hero skills work slightly better due to being freed from the now-ancient Warcraft III engine, but Dota 2 will be instantly familiar to any DotA player.<br /><br />A few things will make significant differences to players making the transition. Dota 2 uses Valve's Source engine, so the game is much prettier. Source itself is getting a few upgrades, including improved global lighting and true cloth simulation. Dota 2's integrated voice chat is a huge step up from having to set up your own Ventrilo server, and the speed of voice communication is very nearly a requirement for a game as team-focused as DotA.<br /><br />AI bots will take over for disconnected players, and will be available to play against in unranked training matches as well. However, don't get your hopes up for a full-fledged single-player game, though. Johnson says, "Our goal with the AI is just that their experience isn't destroyed just because one person couldn't finish the game."<br /><br />The visual style is remarkable for retaining the somewhat cartoony feel that the Warcraft III version of DotA-Allstars is built around, while going in a few different directions. "I think there are functional aspects to the art that are pretty significant to the players," Johnson muses. The environment, particularly in the forests that fill in the map between the three lanes that the NPC armies follow, uses a desaturated color scheme to give the colorful heroes and abilities some visual pop. The sizable art team is putting a lot of work into making the shapes and animations of each hero distinct to the point that players will be able to instantly identify any hero they see and quickly gauge the threat level of any situation.<br /><br />The game will also feature a ton of custom voice work. You'll get amusing lines from heroes as they deny the enemy team last hits on creeps, and champions who have backstory connections will trade quips when nearby.<br /><br />The bulk of innovation in Dota 2, however, is ancillary to the gameplay itself. Valve is upgrading Steamworks (the company's backend technologies for matchmaking and other gameplay and community-related things) to allow them to create in-game rewards for participating in the Dota 2 community. The idea is to have everything a player does in or out of game tie back into their online identity. Like the improvements to Source, the Steamworks upgrades will be available to third-party developers who choose to use Valve's tools when Dota 2 launches in 2011.<br /><br />At a basic level, posting useful feedback or participating in constructive discussions on the forums will contribute to your standing in the community in a visible way. Valve doesn't have the specifics on how this will work nailed down yet. Will you get points that contribute to a visible ranking, like a Gamerscore? Will your posts need to be recommended by other community members to count for anything? What counts as a constructive discussion? These questions are all being actively explored at the moment. Valve assures us that the designers have a slew of awesome ideas for how to implement rewards in a way that’s visible to the rest of the community, but there are no details to announce yet. "When we talk about this identity that exists inside and outside the game, we don't think we're anywhere near it with what exists on Steam right now," Johnson admits.<br /><br />If this was just about getting points for posting comments, though, we wouldn't waste your time by telling you about it. Dota 2 goes much farther than that. Everything from unlocking new skins for your favorite hero to getting a unique title for writing a strategy guide is on the table. Valve has ambitious plans (for which, again, there are no specifics to share) to host everything themselves and provide the best framework for the community to interact with each other. The idea is to reduce the social friction inherent in having to dig around a bunch of different fansites and wikis to find what you're looking for.<br /><br />Ultimately, two things will make Dota 2 stand out: the coaching system and interactive guides. Read on to find out more.</p>
737 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_lina.jpg" style="max-width:610px;" border="0" alt="" /><br /><br /><span style="font-size:medium;"><b>Riding the Skill Curve</b></span><br /><br />Getting owned sucks. It doesn't matter if you're the victim of a headshot in Counter-Strike, corner trapped in Street Fighter, or swarmed under by Zerglings in StarCraft. Holding the short end of the skill stick in competitive games like these is rough. This problem is compounded in DotA and its clones by two factors. First, matches last around 40 minutes – that's a long time to spend getting your face kicked in. Second, dying not only takes you out of the game while your respawn timer counts down but also directly benefits the other team by giving a big cash bounty to your killer. <br /><br />At intermediate and higher levels of play, having a poor player on your team who dies frequently is worse than fighting with a man down, as the opposite team gets gobs of gold for picking off the newbie. This has fostered a legendarily newbie-hostile attitude within large swaths of the DotA community. As fun and rewarding as the game is when you're in a match of appropriate skill level – and it can be one of the very best experiences in gaming, without exaggeration – finding those matches has always been a nightmare. It doesn't help that the game is so intense that Valve had to institute a "no talking about the match for an hour afterwards" rule for its internal playtests. The recent commercial titles that more or less cloned DotA have ameliorated this to some extent, but it is still often a huge problem.<br /><br />Valve believes that the solution to the huge barrier to entry is threefold. The first, obvious solution is to have excellent skill-based matchmaking for both individuals and teams. Valve believes that the work going into Steamworks for Dota 2's release meets that requirement. Second, interactive guides will allow players to do more than just read a guide for their favorite hero that has been deemed helpful by the community at large. Valve plans to allow guide-makers to tie their work back into the game by doing things like highlighting suggested item purchases or displaying useful information during a match.<br /><br />Finally, a coaching system is being deeply integrated into the game. By logging in as a coach, veteran players can do their part to help out newer folks. Valve hasn't entirely decided on the specifics of how newbies and coaches will be matched up, but once they're together a few things happen. The coach sees the pupil's screen, and gets private voice and chat channels to communicate with them. The coach probably won't be able to take control of anything directly (once again, the details are currently under discussion), but information is power in Dota 2 and having a mentor whispering in your ear can make all the difference in the world.</p>
738 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_morphling.jpg" style="max-width:610px;" border="0" alt="" /><br /><br />Of course, the pupil will be able to rate the coach's helpfulness. Being a well-regarded coach will have explicit in-game rewards, just like writing useful guides, posting constructive feedback, or engaging in interesting strategy discussions. If the overwhelming response to Battle.net achievements is any indication, vanity rewards like these will be extremely effective in channeling the community's energies toward positive contributions.<br /><br />Valve founder and boss Gabe Newell thinks that ongoing service and value creation over a game's lifespan is the new reality of game development. "IceFrog was one of the smartest people we've ever met about doing that, and he was doing it with both hands tied behind his back, so to speak," Newell says. The company plans on approaching Dota 2 with the same dedication that won it the fanatical devotion of the Team Fortress 2 community, pushing out dozens of updates that do everything from adding new hats to fixing balance issues to introducing entire new match types for free.<br /><br />"I think the interesting thing is us adding a second layer where the community is a service to each other. That's the real shift that we're trying to build here. Valve is going to keep building software around Dota and around the community and around Steamworks for Dota, but we're also going to build this system where the community can bring service to each other and be recognized for it," Johnson proclaims. With a solid backbone of community-enabling systems and Valve's legendary support and technology behind it, Dota 2 has a chance to turn one of the most popular mods of all time into a full game on PC and Mac that compares favorably to any eight-figure-budget console blockbuster.</p>