Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MyBB] MyPlaza v0.5 (beta version)
Author Message
.:ʕΘЯg@nʔ:.™
Elite EPerson

Posts: 1,613.1974
Threads: 235
Joined: 14th Apr 2007
Reputation: 3.87089
E-Pigs: 67.0595
Offline
Post: #221
RE: [MyBB] MyPlaza v0.41 (preview version 8)
Yeah i can't get the Advanced Module to work

I going to test my hands in making the edits my self, with the text TuT ZiNgA posted

wish me luck :)

[EDIT]

well i did it
I made the edits with out messing up the site
users can change the name color fount post color

But it don't change The user name color in the shout box or my overview ???

I'm loving this MyPlaza ZiNgA

[Image: hw_wow_sig.php?cardCharacterName=Tetriz]
(This post was last modified: 23/12/2007 09:23 PM by .:ʕΘЯg@nʔ:.™.)
23/12/2007 07:38 PM
Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #222
RE: [MyBB] MyPlaza v0.41 (preview version 8)
ZiNgA BuRgA Wrote:
Pirata Nervo Wrote:EDIT, i don't know how to install it through Update Manager, i can't find any mpu files in your pack =|
EDIT EDIT, I upgraded manually and i got this message when running the upgrade script:
Upgrade successful!MySQL error: 1163
The used table type doesn't support BLOB/TEXT columns
Query: CREATE TABLE IF NOT EXISTS `mybb_plaza_temp` (`tid` int(10) unsigned NOT NULL, `template` text NOT NULL, PRIMARY KEY (tid)) TYPE=HEAP
Appears to be an issue with MySQL not supporting BLOB fields in HEAP tables... >_>

so what can i do?

24/12/2007 03:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
.:ʕΘЯg@nʔ:.™
Elite EPerson

Posts: 1,613.1974
Threads: 235
Joined: 14th Apr 2007
Reputation: 3.87089
E-Pigs: 67.0595
Offline
Post: #223
RE: [MyBB] MyPlaza v0.41 (preview version 8)
yeah I had to upload the update my self

then re-coded my site by hand :P

I have the files if you would like to give them a try .?

But it sounds like he is working on fixing the prob soooo. . .

[Image: hw_wow_sig.php?cardCharacterName=Tetriz]
(This post was last modified: 24/12/2007 04:01 AM by .:ʕΘЯg@nʔ:.™.)
24/12/2007 04:00 AM
Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #224
RE: [MyBB] MyPlaza v0.41 (preview version 8)
did you have the same problem organ?

24/12/2007 04:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
.:ʕΘЯg@nʔ:.™
Elite EPerson

Posts: 1,613.1974
Threads: 235
Joined: 14th Apr 2007
Reputation: 3.87089
E-Pigs: 67.0595
Offline
Post: #225
RE: [MyBB] MyPlaza v0.41 (preview version 8)
Pirata Nervo Wrote:did you have the same problem organ?

yeah & still do that's why i made the edits by hand

here is the text file PS this is just for the Custom User Formatting 1.0.4

I still can't update via my admin CP but i did update

I found zinga's text TuT vary easy & strait to the point

[Image: hw_wow_sig.php?cardCharacterName=Tetriz]
(This post was last modified: 24/12/2007 05:09 AM by .:ʕΘЯg@nʔ:.™.)
24/12/2007 05:08 AM
Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #226
RE: [MyBB] MyPlaza v0.41 (preview version 8)
so i must do the upgrade edits by hand, ok..
im talking about the upgrade script not the username formatting..

EDIT:
I found a bug zinga.
Function db_insert_rows

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function db_insert_rows($table, $rows, $check_all = false)
{
	global $db;
	// if checking all, see if less than threshold value
	if($check_all && count($rows) < 4)
	{
		// just use normal insert
		foreach($rows as $row)
			$db->insert_query(MY_TABLE_PREFIX.$table, $row);
		return;
	}
	
	if($check_all)
	{
		foreach($rows as $row)
		{
			foreach($row as $fdname => $data)
				if(!isset($fields[$fdname]))
					$fields[$fdname] = $fdname;
		}
	}
	else
	{
		$fields = array_keys(reset($rows));
	}
	
	$insertsql = '';
	foreach($rows as $row)
	{
		if($check_all)
		{
			$insertsql .= '(';
			foreach($fields as $field)
			{
				if(isset($row[$field]))
					$insertsql .= '\''.$row[$field].'\',';
				else
					$insertsql .= '\'\',';
			}
			$insertsql = substr($insertsql, 0, strlen($insertsql)-1).'),';
		}
		else
			$insertsql .= '(\''.implode('\',\'', $row).'\'),';
	}
	// remove trailing comma
	db_write_query('INSERT INTO '.TABLE_PREFIX.$table.'('.implode(',', $fields).')
		VALUES '.substr($insertsql, 0, strlen($insertsql)-1));
}

Note:
db_write_query('INSERT INTO '.TABLE_PREFIX.$table.'('.implode(',', $fields).')

	
	
VALUES '.substr($insertsql, 0, strlen($insertsql)-1));
you wrote TABLE_PREFIX.

Now, in userformatting.php

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
db_insert_rows(TABLE_PREFIX."plaza_uformat_styles", array(
		array(
			'style' => 'color',
			'friendlyname' => $lang->userformat_color,
			'filter' => $db->escape_string("#([a-zA-Z]*|\#?[0-9a-fA-F]{6})#")
		),
		array(
			'style' => 'font-family',
			'friendlyname' => $lang->userformat_font,
			'filter' => $db->escape_string("#([a-zA-Z0-9 ,\-]+?)#")
		)
	));


You wrote TABLE_PREFIX again, so the actual code will be localhost.prefix_prefix_tablename.
that means nothing, I already fixed that line of code on my forum (i was getting a mysql error because of that).
I removed the TABLE_PREFIX from the userformatting.php.

I hope you can fix my other problem :)


(This post was last modified: 24/12/2007 07:32 AM by Pirata Nervo.)
24/12/2007 05:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #227
RE: [MyBB] MyPlaza v0.42 (preview version 9)
Been on some bug hunting, found quite a few, so updated to v0.42.
Just bug fixes - hopefully, this should be much more stable than v0.41.
25/12/2007 01:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
.:ʕΘЯg@nʔ:.™
Elite EPerson

Posts: 1,613.1974
Threads: 235
Joined: 14th Apr 2007
Reputation: 3.87089
E-Pigs: 67.0595
Offline
Post: #228
RE: [MyBB] MyPlaza v0.42 (preview version 9)
well then time to give this a go :)

[EDIT]

damn updater

Fatal error: Call to undefined function: rebuild_settings() in /home/www/cbthome.freehostia.com/temp_8f427efcfead9a8d15061bc206c452ec.php on line 175

Fatal error: Cannot redeclare rebuild_settings() (previously declared in /home/www/cbthome.freehostia.com/inc/plugins/hltg.php:112) in /home/www/cbthome.freehostia.com/inc/plugins/myplaza.php on line 39

Fatal error: Cannot redeclare rebuild_settings() (previously declared in /home/www/cbthome.freehostia.com/inc/plugins/overview.php:958) in /home/www/cbthome.freehostia.com/inc/plugins/myplaza.php on line 39

I can't even get into my Plugin Manager

that's not good my site is bead :(

hade to delete the inc/plugins/myplaza.php

[Image: hw_wow_sig.php?cardCharacterName=Tetriz]
(This post was last modified: 25/12/2007 02:04 AM by .:ʕΘЯg@nʔ:.™.)
25/12/2007 01:44 AM
Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #229
RE: [MyBB] MyPlaza v0.42 (preview version 9)
your problem is simple, go to temp_8f427efcfead9a8d15061bc206c452ec.php, hltg.php and overview.php and edit the function rebuild_settings on each file (just change the name) don't forget to Find/Replace the old name with the new one in the rest of the file.

Testing new version..

25/12/2007 03:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
.:ʕΘЯg@nʔ:.™
Elite EPerson

Posts: 1,613.1974
Threads: 235
Joined: 14th Apr 2007
Reputation: 3.87089
E-Pigs: 67.0595
Offline
Post: #230
RE: [MyBB] MyPlaza v0.42 (preview version 9)
yeah the new MyPlaza is sound
My prob was outdated plugins on my site

[Image: hw_wow_sig.php?cardCharacterName=Tetriz]
(This post was last modified: 25/12/2007 03:25 AM by .:ʕΘЯg@nʔ:.™.)
25/12/2007 03:25 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)

 Quick Theme: