myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Country: US
    US
    Address: 38.107.191.119
  • Server Appeal

phpBB3: New userinfo/welcome portal
Page Previous  1, 2
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements!
View previous topic :: View next topic  
Author Message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 22860

Joined: 22 May 2005
Posts: 25384



Add Karma

rated by 213 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 19, 2009 8:18 am    Post subject: Reply with quote

Seems my source of flags has only small flags for a lot of Countries. Will get some bigger ones.



_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
Zudane
Moderator
Moderator


Virtual Cash: 14250

Joined: 10 May 2008
Posts: 1366



Add Karma

rated by 18 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 19, 2009 4:12 pm    Post subject: Reply with quote

Member on my site (from new zealand) said that the size of the flag must be relevant to the size of the country  
_________________


Harsh Reality - Unleash your creativity!

Harsh Reality
Back to top
View user's profile Private message Visit poster's website
Nick(NR)
Moderator
Moderator


Virtual Cash: 15630

Joined: 06 May 2006
Posts: 4732


Location: Medway, Kent
Add Karma

rated by 37 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 19, 2009 7:21 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Seems my source of flags has only small flags for a lot of Countries. Will get some bigger ones.


How big: http://forum.myfreeforum.org/about17401.html

25x15, which considering they can be put on the view topic, could possibly code it to pick out two flags of differing size, based on an option, choosing large would tell the portal to pick up the l_ , if small is chosen it would look for s_ at the start of the images?

e.g.

s_en.png
l_en.png

As smart as that would be, I'm going to go ahead and say it's more than what is needed tho right?
_________________
CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.


I'm better than Jose!
Back to top
View user's profile Private message Visit poster's website
Zudane
Moderator
Moderator


Virtual Cash: 14250

Joined: 10 May 2008
Posts: 1366



Add Karma

rated by 18 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 19, 2009 9:55 pm    Post subject: Reply with quote

the portal for phpbb3 can be set for the large, only way to set the image in view topic is to code the image link itself.
_________________


Harsh Reality - Unleash your creativity!

Harsh Reality
Back to top
View user's profile Private message Visit poster's website
Zina2008
Apprentice
Apprentice


Virtual Cash: 1120

Joined: 17 Dec 2008
Posts: 105


Location: Scotland
Add Karma

rated by 3 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jun 20, 2009 4:23 pm    Post subject: Reply with quote

My experience of this portal has been a bit different - but I thought it might help somebody if I posted.

I had been hoping for something like this to come along, since we had a similar thing at out previous home. One of my boards is very local, but the other has members from all over the world. So really the nationality marker matters more for one board than the other.

Anyway, when this new portal was announced I installed it at both boards. It worked, but the content (avatar, flag etc) was left-justified, which looked untidy in the right-hand portal (I have a dual portal, using a pro silver base - the left is narrower than the right). So I moved it to the left, swapping it with the clock which was formerly at top left. It looked a lot better there.

But . . . after a day or two I discovered the snag. When I clicked "X new messages" at the top, I got a Fatal Error. If I clicked "User Control Panel" and then on to "Private messages" I could get to the place for writing a new message, but I still couldn't read existing ones.

I looked at the templates, but I'm not an expert, just an experimenter, and I couldn't see anything obvious. A night's pondering failed to come up with any ideas other than the easiest.

Today I swapped the portals - the clock and the User Info / Welcome - back again, and with the clock on the left and the welcome on the right, everything works as before.

So if anybody else out there has this odd little problem - put it on the right!


P.S. I couldn't have reported it here, because you wouldn't be able to see it unless you had PMs at one of the boards. I didn't copy the error message - sorry - but it mentioned the avatar, looked like something about no access to avatar.

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 22860

Joined: 22 May 2005
Posts: 25384



Add Karma

rated by 213 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jun 20, 2009 4:29 pm    Post subject: Reply with quote

The chances are it has been fixed.

Just today I have found some places where using the userinfo portal in phpbb fails to include the get_user_avatar function and thus dies with an error message. The cases I found have been fixed.

This sort of error is the sort of thing you should be quickly and accurately reporting.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
Zina2008
Apprentice
Apprentice


Virtual Cash: 1120

Joined: 17 Dec 2008
Posts: 105


Location: Scotland
Add Karma

rated by 3 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jun 20, 2009 4:51 pm    Post subject: Reply with quote

Sorry!

I've swapped these two portals - which are called USERINFO and CLOCKWATCH - back again, via the overall_header and overall_footer templates. My page index address is: http://whiteoakforum.myfreeforum.org/index.php

Now, with the info on the left and the clock on the right, the page looks better - until I click "X new messages". Then I get this error message:

Fatal error: Call to undefined function: get_user_avatar() in /home/httpd/vhosts/slarti.myfreeforum.org/httpdocs/phpBB3/myffcms/com_userinfo.php on line 166

I've only done it on this board, but both boards have the same theme and general set-up, and the error was the same on both. Now the other one is still working, but this edited one has the problem again.

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 22860

Joined: 22 May 2005
Posts: 25384



Add Karma

rated by 213 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jun 20, 2009 5:03 pm    Post subject: Reply with quote

try now.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
Zina2008
Apprentice
Apprentice


Virtual Cash: 1120

Joined: 17 Dec 2008
Posts: 105


Location: Scotland
Add Karma

rated by 3 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jun 20, 2009 5:16 pm    Post subject: Reply with quote

Brilliant!

 

Many thanks! I've tried it on the one I edited - I'll re-edit the other one later this evening, and report back if it doesn't work. But I bet your magic will have done the trick.




Update: I've done the other board now, and both are working just as they should.

Thank you so much, Admin - you've made an old woman very happy!


Back to top
View user's profile Private message
Zudane
Moderator
Moderator


Virtual Cash: 14250

Joined: 10 May 2008
Posts: 1366



Add Karma

rated by 18 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 21, 2009 6:09 am    Post subject: Reply with quote

I'm having trouble with this....  It's working for me, but not for my members.

If I clear the field from the profile and load the page, nothing happens.  But if I clear the cookie and load the page then it sets the field correctly.

I can't expect all of my members to clear cookies to get that to work.  Any idea what the problem is?  It's being reported to me that it's loading on the page, but not loading into the profile, which I can verify.

Thinking of it... to keep it from constantly resetting the cookie, could you set it to check if the profile field defined in the portal options (if set) is null or empty then it will set/read the cookie to fill in the field correctly?  This way it only tries to reload the field data if it's not there.
_________________


Harsh Reality - Unleash your creativity!

Harsh Reality
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 22860

Joined: 22 May 2005
Posts: 25384



Add Karma

rated by 213 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 21, 2009 8:17 am    Post subject: Reply with quote

Working just with the cookies makes it faster, and if things were wrongly set, then time should slowly correct things. It does not seem a good idea to add database accesses to cure issues that should not happen if the debugged portal is used from scratch.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
Zudane
Moderator
Moderator


Virtual Cash: 14250

Joined: 10 May 2008
Posts: 1366



Add Karma

rated by 18 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Jun 22, 2009 2:06 am    Post subject: Reply with quote

Okay, I figured a way to make it work better, which I'll probably remove later, but for now it will get it going.

I just added a bit of code to remove the cookie when any page loads, since the portal sets and reads the cookie all in one go.  I've tested it on my own and it correctly re-set the cookie and the profile field.

But, it should work.

I think the problem with it is that it only reads the cookie to fill in the profile field when the cookie is set.  If this portal is placed in the page before the profile field is correctly in place, then the portal only places the cookie but doesn't set the field.

I know the cookie is supposed to expire on session end, but for me it wasn't deleting the cookie and re-setting it.

Might be something to put in the guide for it, to make sure the field is in place before the portal is used, and if any problems pop up, just wait for them to be fixed or clear cookies first.



_________________


Harsh Reality - Unleash your creativity!

Harsh Reality
Back to top
View user's profile Private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements! All times are GMT
Page Previous  1, 2
Page 2 of 2
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum