This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
46
Archived fixes / More language bugs
« on April 22nd, 2014, 11:21 PM »
Set German as Default and only available language but Language is still english. Only if i allow user-selectable language support i can switch successful to german.
47
Archived fixes / Language fallback
« on April 22nd, 2014, 12:17 PM »
There are some problems when a plugin doesnt provide the correct language files.
I only see that error in Plugin Settings, but perhaps it occurs also somewhere else.
/plugins/invitemod/lang:
...german.php
...german.php
Unable to load the "(CerealGuy:InviteMod) lang/InviteMod-Admin.english" language file.
If i switch to english and try to change something in the plugin settings theres no text. I think it would be better it it would switch to a available language if possible. Perhaps with some prioritys (default language, english).
I only see that error in Plugin Settings, but perhaps it occurs also somewhere else.
/plugins/invitemod/lang:
...german.php
...german.php
Unable to load the "(CerealGuy:InviteMod) lang/InviteMod-Admin.english" language file.
If i switch to english and try to change something in the plugin settings theres no text. I think it would be better it it would switch to a available language if possible. Perhaps with some prioritys (default language, english).
48
Plugins / [Plugin] DefaultAvatar
« on April 8th, 2014, 10:17 PM »
There are already some starts in core for setting a default avatar, but i think its not really a core feature.
First time that i really used jquery, and its awesome, but hacky :geek:.
In the moment it only changes the avatar in Topics, not in Profiles and not in sidebar. Perhaps im going to add it, but its not that important i think.
https://github.com/C3realGuy/we_DefaultAvatar
Its not a big deal but some feedback would be nice :^^;:
First time that i really used jquery, and its awesome, but hacky :geek:.
In the moment it only changes the avatar in Topics, not in Profiles and not in sidebar. Perhaps im going to add it, but its not that important i think.
https://github.com/C3realGuy/we_DefaultAvatar
Its not a big deal but some feedback would be nice :^^;:
49
Features / Registration Hooks
« on April 7th, 2014, 11:11 AM »
EDIT: Only one registration hook is missing, registration_form or something like that. In the moment its not possible to add html via jquery to the registration form, which is quite useful for an invite mod :whistle:.
And not only for an invite mod, i think there are some other things for which this would be useful.
And not only for an invite mod, i think there are some other things for which this would be useful.
50
Features / Own table for custom field values?
« on March 27th, 2014, 06:28 PM »
In the moment all custom field values are in {dbprefix}_themes. And themes is probably the wrong word for it?!
I would suggest to rename it to variables or split it up into _themes and _custom_field_values.
I would suggest to rename it to variables or split it up into _themes and _custom_field_values.
51
Archived fixes / Undefined index & Undefined Constant
« on March 23rd, 2014, 02:19 PM »
Looks like this commit:
https://github.com/Wedge/wedge/commit/8da1e8078ffc9345e4b5213945bc33215d20ef38
Throws some errors.
8: Use of undefined constant AJAX - assumed 'AJAX'
8: Use of undefined constant SKINS_DIR - assumed 'SKINS_DIR'
8: Use of undefined constant TEMPLATES_DIR - assumed 'TEMPLATES_DIR'
Im sure there are more but looks like a general problem.
Aaaand theres another but looks a bit different:
url: xxx/index.php?action=notification;sa=unread
Kann das "Errors" Template nicht laden.
https://github.com/Wedge/wedge/commit/8da1e8078ffc9345e4b5213945bc33215d20ef38
Throws some errors.
8: Use of undefined constant AJAX - assumed 'AJAX'
8: Use of undefined constant SKINS_DIR - assumed 'SKINS_DIR'
8: Use of undefined constant TEMPLATES_DIR - assumed 'TEMPLATES_DIR'
Im sure there are more but looks like a general problem.
Aaaand theres another but looks a bit different:
url: xxx/index.php?action=notification;sa=unread
Kann das "Errors" Template nicht laden.
52
Archived fixes / [Security issue] /plugins/<name>/plugin-info.xml
« on March 17th, 2014, 05:52 PM »
Just thought about the problem with the plugin-info.xml and that its accessable. Think about an automated scanner like wpscan which uses plugin lists to bruteforce which plugins you have installed. For that kind of tools it would be too easy to look what plugins you have installed (if the plugin author cares about it :lol:) and even sees the used version.
Example:
http://wedge.org/plugins/mentions/plugin-info.xml
Im not really into .htaccess, but an "deny from all" in /plugins/.htaccess could fix it.
EDIT:
Perhaps adding xml to filematch would be even a better solution :hmm:
Code: [Select]
Example:
http://wedge.org/plugins/mentions/plugin-info.xml
Im not really into .htaccess, but an "deny from all" in /plugins/.htaccess could fix it.
EDIT:
Perhaps adding xml to filematch would be even a better solution :hmm:
<FilesMatch "\.(zip|gz|bz2|tar|xml)$">
Order deny,allow
Deny from all
</FilesMatch>
53
Archived fixes / Custom Hooks after update
« on March 8th, 2014, 12:10 PM »
I think it would be useful if wedge disables plugins for which a hook is missing after an update. And for some reasons it also didnt displayed that red error box with the hooks which are missing (also not after i disabled it and purged chache, only when i try to activate it, it shows me the error message about the missing hook).
54
Features / Current processed Post id
« on March 6th, 2014, 12:44 AM »
I would love to have in $context a current_postid variable. Otherwise theres no way to get to know the postid from parse_bbc. And im pretty sure there are also other functions which dont know the postid. current_postid should be the postid from the current processed post :D. I dont know if theres another way but searched in all globals and dindt found something :hmm:
regards CerealGuy
regards CerealGuy
55
Test board / [Test][Longname] Testtestestestestestestestestestlooooongname
« on February 13th, 2014, 05:03 PM »
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in.
56
Archived fixes / Home.german.php wrong variable name
« on February 12th, 2014, 07:22 PM »
In Home.german.php is the variable name wrong. Should be "home_title" and "home_intro" instead of "wedge_home_title" and "wedge_home_intro". Therefore if you change Language to german your new Home Intro/Title don't work how they should.
Fixxed version:
Code: [Select]
For people who can't wait for fixxed commit, you need to purge cache to see the effect.
Fixxed version:
<?php
// Version: 2.0; Home
// This is a sample file.
$txt['home_title'] = 'Bringe dein <span title="Community? Cool cool cool.">Forum</span> auf den nächsten Level.';
$txt['home_intro'] = 'Seit einigen Jahren arbeiten wir an einer neuen Foren-Software in PHP5, basierend auf der beliebten SMF-Forensoftware (weitere Informationen findest du in den <a href="http://wedge.org/pub/faq/">FAQ\'s</a>). Mit Wedge kannst du Foren in einer völlig neuen Art und Weise erstellen und verwalten: Blogs, HTML5, CSS3, jQuery, Objektorientierte Programmierung, UTF8, CSS-PreParsing, verbesserte Sicherheit, Entwürfe und vieles mehr finden sich unter der Motorhaube von Wedge. Mit etlichen neuen Funktionen, inklusive der beliebten Aeva-Media-Galerie, wird dieses Forum bestimmt die <strong>beste Forensoftware</strong> sein, die aktuell auf dem Markt erhältlich ist. Wann wird Wedge veröffentlicht? Ganz einfach: wenn es fertig ist. <a href="http://wedge.org/blog/">Bleibe am Ball</a> und abonniere unseren <a href="http://wedge.org/blog/?action=feed;sa=news">RSS-Feed</a>, um nichts zu verpassen. ';
For people who can't wait for fixxed commit, you need to purge cache to see the effect.
57
Archived fixes / users_online_today german language fix
« on February 9th, 2014, 04:57 PM »
Some small mistakes in german language file (mostly some missing spaces or switched letters):
Fixed ones:
Code: (OnlineToday-Admin.german.php) [Select]
Code: (OnlineToday.german.php) [Select]
Another question, why are the language files without an "?>" ?
Fixed ones:
<?php
// Important! Before editing these language files please read the text at the top of index.english.php.
// Don't forget to set the language file to UTF-8 format (without signature) before saving it.
$txt['uot'] = 'Benutzer online heute';
$txt['uot_type'] = 'Was sollen die User angezeigt bekommen?';
$txt['uot_today'] = 'Benutzer, die heute angemeldet waren (basierend auf Serverzeit)';
$txt['uot_24h'] = 'Benutzer, die in den letzten 24 Stunden angemeldet waren';
$txt['uot_7d'] = 'Benutzer, die in den letzten 7 Tagen angemeldet waren';
$txt['uot_whoview'] = 'Wer darf die Liste mit den Online-Benutzern sehen?';
$txt['uot_whoview_any'] = 'Alle';
$txt['uot_whoview_members'] = 'Alle angemeldeten Benutzer';
$txt['uot_whoview_staff'] = 'Administratoren und Global-Moderatoren';
$txt['uot_whoview_admin'] = 'Nur der Administrator';
$txt['uot_order'] = 'Wie soll die Benutzeranzeige sortiert werden?';
$txt['uot_order_name_asc'] = 'Nach Name, A-Z';
$txt['uot_order_name_desc'] = 'Nach Name, Z-A';
$txt['uot_order_time_asc'] = 'Nach der letzten Online-Zeit, aufsteigend';
$txt['uot_order_time_desc'] = 'Nach der letzten Online-Zeit, absteigend';
<?php
$txt['users_online_today'] = 'Benutzer heute';
$txt['users_online_24h'] = 'Benutzer in den letzten 24 Stunden';
$txt['users_online_7d'] = 'Benutzer in den letzten 7 Tagen';
$txt['users_online_today_userhidden'] = '%1$s%2$s'; // For i18n. It's not always possible to have all the combinations but between this and users/hidden combinations, it should cover everything.
$txt['users_online_today_users'] = array(1 => '1 Benutzer', 'n' => '%s Benutzer');
$txt['users_online_today_hidden'] = ' inklusive %s versteckte'; // doesn't matter how many are hidden, the same applies in English: 1 hidden, 10 hidden etc. You may add an array as needed.
$txt['users_online_today_none'] = 'Heute waren noch keine Benutzer online.';
Another question, why are the language files without an "?>" ?
58
Plugins / [Plugin] HideMod v1 (old)
« on February 8th, 2014, 02:36 PM »This is the old version, there is now v2.0. To get the old version, check out the v1 branch in the repository.
https://github.com/C3realGuy/Wedge-Hide/tree/v1
Here we go, first Plugin from me <_<.
First i'm not that good and experienced coder but i like wedge and its quite fun to play with it. Therefore i thought to create a small plugin. It's still alpha and not recommend for public usage because there are still some bad bugs ^^ But perhaps someone is interested in it. It's really not finished because im struggling with some problems with which some of you perhaps can help me :blush:.
But first github url :D
https://github.com/C3realGuy/we_HideMod
Im using the display_post_done hook to replace the hide(-reply) stuff and check if user is allowed to do so. But perhaps the bbcode stuff in plugin-info.xml is bether? I understood some basic things of that xml block but just discovered that before/after stuff which is not what i need. I need to decide whether the user is allowed to see it or not ^^ Therefore a param in the bbcodeblock which links to a function or something like that would be very nice and surely cool for other plugins
The next problem is that there's no hook in the quickquode stuff which allows to look into the hidden code ^^
If i could fix one of those two problems it would be perhaps ready for "real" use.
Of course any feedback is welcome except for "hide mods are stupid and a foolish thing because of...". I know that there are people who don't like it because of the useless spam posts and stuff but also a lot people like it :eheheh:
Posted: February 4th, 2014, 09:01 PM
A small update: looked again into hooks and stuff and found post_bbc_parse. Sounds right but for some reasons it doesnt works like i supposed it would. And we would need a sqlquery to discover which postid this post has and bbcode would also work in Shoutbox/PM?! Where it's kinda useless :D And for some reasons first posts seems to be cached or the hook doesnt get called whats not good for this type of plugin ^^ ManagePlugins --> knownHooks is quiet interesting ;)
Posted: February 5th, 2014, 05:47 PM
Nobody any ideas? :sob:
59
Archived fixes / Like and Reposts
« on February 3rd, 2014, 10:25 PM »
If i like a "main" Post with certain reposts , theres some js bug which "likes" all reposts. But its not really liked, just displayed wrong, because if i reload the page the likes from the reposts disappear. If i like a repost it works how it should.
60
Archived fixes / loadPlugin
« on January 29th, 2014, 08:43 PM »
I have a mysterious problem. loadPluginLanguage fails whether everything is right. And i dont know why :D
Plugin id CerealGuy:Bietemaker
loadPluginLanguage('CerealGuy:Bietemaker', 'langBietemaker'); //works
loadPluginLanguage('CerealGuy:Bietemaker', 'Bietemaker'); //does not work, x.english.php of course renamed.
I dont know if its the same problem with loadPluginTemplate but im pretty sure it is.
Error which is throwed: Undefined index: contact_us
Its Contactpage a little bit modified just to understand how the template stuff works :whistle:
But till now only Project name and stuff is renamed ^^ Thanks to Arantor for the plugin its all his work :lol:
Here we go:
(and another bug, cant upload .tar.gz, it says .gz is not allowed ^^)
Plugin id CerealGuy:Bietemaker
loadPluginLanguage('CerealGuy:Bietemaker', 'langBietemaker'); //works
loadPluginLanguage('CerealGuy:Bietemaker', 'Bietemaker'); //does not work, x.english.php of course renamed.
I dont know if its the same problem with loadPluginTemplate but im pretty sure it is.
Error which is throwed: Undefined index: contact_us
Its Contactpage a little bit modified just to understand how the template stuff works :whistle:
But till now only Project name and stuff is renamed ^^ Thanks to Arantor for the plugin its all his work :lol:
Here we go:
(and another bug, cant upload .tar.gz, it says .gz is not allowed ^^)