Show Posts

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.

Messages - CerealGuy
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.
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]
// 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="">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="">Bleibe am Ball</a> und abonniere unseren <a href=";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.

Plugins / Re: Popular topics
« on February 9th, 2014, 07:27 PM »
Quote from Wanchope on February 9th, 2014, 06:48 PM
Any news on this plugin now that Wedge is finally out to the general public?
Isnt it in the core? I think its the same like the recent posts block.

EDIT: Seems to be something different, sry ^^
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]
// 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';

Code: (OnlineToday.german.php) [Select]

['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 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 "?>" ?
Off-topic / Re: Nao?
« on February 9th, 2014, 11:23 AM »
I think he's just really busy ;)
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.

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

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:
Off-topic / Re: PHP | Learning
« on February 6th, 2014, 07:08 PM »
Just have a look at php and play with it. It's not that hard to learn but a very powerful language. You can nearly do everything with it, even its in some cases not the best choose (i dont like to run php scripts on a client but its possible ^^). I started with scripting on linux, bash, perl and stuff than later learned php. It's totally possible as first programming language. I'm more the "try and error" guy but look what fits best for you, video tutorials, text, interactive tutorials etc. Just try it and look whats best for you ;) Good luck!

And html is not a program language. I dont know the exact definition but its "just" how it looks. Therefore dont mess up with html, its not that kind of programming. I would suggest you to first have a look at php. It's more fun and you will understand html step by step parallel to php.
Archived fixes / Re: Like and Reposts
« on February 4th, 2014, 05:18 PM »
Quote from Nao on February 3rd, 2014, 11:59 PM
Done... I haven't tested (obviously), but I'm pretty sure that's the reason it didn't work. I can confirm I'd already had a similar problem on soft-merged posts, but that wasn't for likes, it was for something else. Anyway, that's how I had fixed it.

File uploaded here, so you can click the Like button on the post above, and see if it reproduces below it.
Works perfectly :)
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.

Test board / Re: Attaching picture
« on February 2nd, 2014, 09:57 PM »
Archived fixes / Re: loadPlugin
« on January 31st, 2014, 12:24 AM »
I dont know what you mean with "What's your language" but i solved the problem. New folder structure (src/lang...) and it seems to be bether ^^ I keep my eyes open and look whether i can reproduce the error again :)
Archived fixes / Re: Log throws errors
« on January 29th, 2014, 10:37 PM »
Quote from Nao on January 29th, 2014, 10:11 PM
That was addressed by a fix I posted probably shortly after your message... It's in Load.php.
Works like a charm. Thanks :)
Archived fixes / Re: Log throws errors
« on January 29th, 2014, 09:04 PM »
Latest Commit (just overwrote core)
Filter einschalten: Nur die Fehler mit der selben Nachricht anzeigen 8: Undefined index: jquery_version
Filter einschalten: Nur Fehler von dieser Datei anzeigen Datei: /home/**/wedge/gz/app/Subs-Cache.php
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 ^^)
Features / Multiple Recycling Bins for different Categories/Boards?
« on January 26th, 2014, 04:23 PM »
I would like to have the Feature that we can specifically change the behavior of the "Delete Post/Topic" function.
For Example i have Support Forum and dont want that the deleted topic come in the same Board as Genereal Posts/Topics when i delete them. In the moment we can only set the "global" recycling board.