Fix Header Think Layer Image and Display Editing + Sound

Started by Adish - (F.L.A.M.E.R), September 04, 2008, 04:02:55 PM

Previous topic - Next topic

[SiNaN]

#20
Okay for the first.

The problem is the slash (\) in displayname, it breaks the preg_match(). Although I get it working, I should make sure before giving the soluition.

SMF can output the info as XML as I know. Those info could be used in flash. But it really needs too much time to achieve it.
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Quote from: [SiNaN] on September 28, 2008, 05:18:56 AM
Okay for the first.

The problem is the slash (\) in displayname, it breaks the preg_replace(). Although I get it working, I should make sure before giving the soluition.

SMF can output the info as XML as I know. Those info could be used in flash. But it really needs too much time to achieve it.

Okay.. so for the username stuff, what maybe the solution ? any code edits ?

Flash is not too much urgency, i can wait for it later on... i would like to sort the second one 1st..... then the 1st one(which seems to be almost solved) and then the flash.. :)

[SiNaN]

Will look into the second issue, I'll inform in this topic too.

For the third, I hope you are a flash expert.
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Quote from: [SiNaN] on September 28, 2008, 05:49:24 AM
Will look into the second issue, I'll inform in this topic too.

For the third, I hope you are a flash expert.

I cant be left alone over this.  :'( :'( :'( Not a flash expert :( comon.. good coders come in here.. this can actually become a mod and would surely be a great success :P

Adish - (F.L.A.M.E.R)


[SiNaN]

It would need an extremly lot of work to that. I can just say reconsidering the pop-up option, that's all I can do.
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Ok, no problem with the music stuff. I need the sending PM solved up. It is basically creating problems in all the PM's sent to this user from any user in the forum. We have to search for his username whenever we want to send the PM. You can consider it as a bug, cant u ?

[SiNaN]

I've reported it, hope to be solved in the next version. Here is a quick fix for it:

../Sources/PersonalMessage.php

Find:

         $_REQUEST['to'] = strtr($_REQUEST['to'], array('\\"' => '"'));

Replace:

         $_REQUEST['to'] = strtr($_REQUEST['to'], array('\\"' => '"', '\\' => '\\\\'));
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

After doing the edit, i get this " One or more 'to'-recipients could not be found. "

I think its the same problem.

[SiNaN]

After doing that edit, I was able to pm a user with this display name:

-!~??G/\N3$|-|??~!-

Can you show me the display name that gave error with?
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Unable to find member '-!~??g/n3$|-|??~!-'.

It changes the name.

Original name :- "-!~??G/N3$|-|??~!-"

[SiNaN]

Are you sure that original name is that?

I remember it was like this:

-!~??G/\N3$|-|??~!-

May I test it myself?
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Quote from: [SiNaN] on October 05, 2008, 11:58:31 AM
Are you sure that original name is that?

I remember it was like this:

-!~??G/\N3$|-|??~!-

May I test it myself?
does it matter what it is ? it should be working with each and every display name isnt it ?

Yes sorry my mistake, it was -!~??G/\N3$|-|??~!- and now he changed it to -!~??G/N3$|-|??~!-

Please help! :'( :'( :'(

[SiNaN]

Yeah, it does to find where the problem is actually.

Can you attach your current PersonalMessage.php file here and provide me a test account to check it?
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Sorry for this long delay, It was all cause of server change.

PersonalMessage.php attached. Test account PM'ed


Adish - (F.L.A.M.E.R)

ehm.. a bit of bump, my site is up now yippi..after like long time.. i can do the testing quickly now. ;)

So how is it going on with this bug/issue ?

Adish - (F.L.A.M.E.R)


[SiNaN]

Changed my PersonalMessage.php file with the one you attached and I can send pms to both

-!~??G/\N3$|-|??~!-

and

-!~??G/N3$|-|??~!-
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

oh yea.. i might have done some mistake. Now it works. Now i have to think how to add a short music player which does take too much load and can be added it over the footer.

Next shall be the forum states fixed on the browser as i have a header at the moment at http://goldysun.com

Anyone who can help.. i appritiate everyonce help..! Thank you..

Advertisement: