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
241
Features / Re: Language revs
« on August 18th, 2014, 01:16 PM »
@Pandos Yes we are :)
242
Features / Re: Language revs
« on August 17th, 2014, 04:05 PM »
Quote from Nao on August 17th, 2014, 12:00 AM
[Commit revision 4ea737f]
Author: Nao (Signed-off)
Date: Sat, 16 Aug 2014 23:59:44 +0200
Stats: 2 files changed; +12 (insertions), -0 (deletion)

  • Privacy! (index)
I like the privacy stuff, good work :cool:
German translation:
$txt['privacy_bubble'] = 'Einsehbar für: <strong>{PRIVACY}</strong>.';
$txt['privacy_can_edit'] = 'Klicke um Einstellungen zu ändern.';
244
Archived fixes / Re: Search ignores specific boards
« on August 11th, 2014, 03:07 PM »
Did some research on this one.
The problem is, that a $_REQUEST['search_type'] is needed to activate the action. Otherwise $_REQUEST['brd] gets unset.
Code: (Search2.php) [Select]
// Did the user provide a scope preference?
if (isset($_REQUEST['search_type']))
{
// Topic: do nothing, board: erase any topic IDs, everywhere: erase any options.
if ($_REQUEST['search_type'] == 'board')
unset($_REQUEST['topic']);
elseif ($_REQUEST['search_type'] == 'tree' && !empty($_REQUEST['brd']))
{
unset($_REQUEST['topic']);
loadSource('Subs-Boards');
$_REQUEST['brd'] = getBoardChildren($_REQUEST['brd']);
}
elseif ($_REQUEST['search_type'] == 'everywhere')
unset($_REQUEST['topic'], $_REQUEST['brd']);
}
else
unset($_REQUEST['topic'], $_REQUEST['brd']);

A small and hacky fix:
Add this
Code: [Select]
if(isset($_REQUEST['brd']) and !isset($_REQUEST['search_type'])){
$_REQUEST['search_type'] = 'board';
}
before
Code: [Select]
// Did the user provide a scope preference?
.

A better fix would be to just set search_type in form to board.
245
Archived fixes / Search ignores specific boards
« on August 3rd, 2014, 10:06 PM »
It looks like the search ignores the "Search in specific boards" option. It always searchs in all boards.
246
Archived fixes / Re: Unable to click/hover on menus
« on July 26th, 2014, 06:49 PM »
Quote from Nao on July 26th, 2014, 06:15 PM
Nothing here for me...
Only appears in Firefox, works well with Chrome :hmm:
247
Archived fixes / Re: Unable to click/hover on menus
« on July 26th, 2014, 03:51 PM »
I get the same thing again.
Browser: Firefox 30
Wedge: latest
248
Support / Re: Where is Ignore boards, topic options page?
« on July 23rd, 2014, 06:07 PM »
Never used that option, but you can ignore Posts under More --> Ignore.
249
Features: Miscellaneous / Re: Contact lists
« on July 5th, 2014, 03:08 PM »
I still get an error and the sidebar isnt displayed correct. However it looks good :cool:
250
Plugin Support / Re: Flitter update
« on June 30th, 2014, 12:19 PM »
Perhaps purging cache is helping. And if you updated the plugin try to disable & enable it.
251
Plugin Support / Re: Adding collumn with mediumtext as type
« on June 23rd, 2014, 12:17 AM »
Quote from Nao on June 22nd, 2014, 10:54 PM
Does your text field need to be indexed?

Problem comes from index not specifying a size for the test field... And it can't index the entirety of the field. ;)
No... not really :D That was the problem :lol:
Thanks :)
252
Plugin Support / Adding collumn with mediumtext as type
« on June 22nd, 2014, 10:29 PM »
I'm trying to create a collumn with mediumtext as type via plugin-info.xml.
First the plugin-info.xml:
Code: [Select]
<database>
<tables>
<table if-exists="update" name="{db_prefix}text">
<columns>
<column name="id" autoincrement="yes" type="mediumint" unsigned="yes" />
<column name="test" type="mediumtext" size="255" />
</columns>
<index type="primary">
<field>id</field>
<field>test</field>

</index>
</table>

</tables>
</database>

Error
Code: [Select]
BLOB/TEXT column 'test' used in key specification without a key length
Datei: /home/oqcchckd/public_html/wedge/core/app/Class-DBHelper.php
Zeile: 339

CREATE TABLE wedge_text
(
`id` mediumint(8) unsigned NOT NULL auto_increment,
`test` mediumtext NOT NULL,
PRIMARY KEY (id,test)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

First thought its a problem with the mysql server but tried it on a different host, same error. How do i define the key length and shouldn't be there default values and/or the size parameter used?

Thanks in advance

EDIT: Problem found :D For some reasons its not good to make it primary, related to mysql ^^ Perhaps it helps people with the same problem :D
253
Bug reports / Advanced Options for Permissions not working
« on June 21st, 2014, 01:24 AM »
The advanced options in managing Permissions doesn't work or for me it doesnt change anything (perhaps i dont understand how its working but in the moment it looks like a bug :lol:).
Thats bad because i cant add Permissions to a group :wow:

Im using the latest rev.
254
Archived fixes / 'ViewRemote' not found or invalid function name
« on June 18th, 2014, 11:00 AM »
Code: [Select]
http://localhost:8080/wedge/index.php?action=viewremote;filename=latest-news.js
Kann den "main" Template block nicht finden.

Code: [Select]
http://localhost:8080/wedge/index.php?action=viewremote;filename=latest-news.js
2: call_user_func() expects parameter 1 to be a valid callback, function 'ViewRemote' not found or invalid function name
Datei: /var/www/wedge/index.php

Only appears sometimes, not sure when exactly :niark: Perhaps someone else has an idea?!
255
Fixed.