HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Silhouettes?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#46661 (In Topic #10181)
Avatar

Honoured member

 I'm making a design for a site and I need some people shadow things (apparently they're called Silhouettes).

It's for a zombie gaming website. They don't have to be zombies, but at least people that are just standing there. I've done some Googling and most I found were of people dancing and stuff. I need something much like what was used in the old ocPortal logos.

Something like this would be perfect…


Back to the top
 
Posted
Rating:
#46662
Avatar

Honoured member

ehh, why is my name Jolly Joe? :O

Back to the top
 
Posted
Rating:
#46666
Avatar

Community saint

Xmas spirit.
Looks like a word starting with the the first letter of you name has been added before it.
Nice thought, I like it  :)

Just be happy your name is Joe and not Franck…  :P

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#46671
Avatar

ocStaff (admin)

I don't really like mine! :P


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#46675
Avatar

ocStaff (admin)

I like yours, Robbie. Mine keeps reminding me of Angelis from "Buffy the Vampire Slayer" :P

Back to the top
 
Posted
Rating:
#46681
Avatar

ocStaff (admin)

I have embarrassingly low level of knowledge of Buffy... I think I saw a singing episode once and that was enough to scar me for life!


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#46683
Avatar

Well-settled

I kind of like mine :-) Looks like Mr Graham has a bit to much time on his hand, maybe we should bomb him with questions?

5 billion Chinese and I had to get a girlfriend that can nag in English.
Back to the top
 
Posted
Rating:
#46685
Avatar

ocStaff (admin)

I think even Chris has time to relax over Christmas… even if his 'relaxing' is ocPortal-related. ;)


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#46688
Avatar

Honoured member

ah I see. Interesting… :P

Robbie, do you have a link to some silhouettes?

Back to the top
 
Posted
Rating:
#46696
Avatar

ocStaff (admin)

Do a search on the big stock photo websites (like iStockphoto.com) - I've seen lots.

Back to the top
 
Posted
Rating:
#46698
Avatar

ocStaff (admin)

If in doubt, Google it: silhouettes stock free - Google Image Search

(I think that should be everyone's motto!)


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#46726
Avatar

Community saint

I like my name and when I saw them I thought Chris spent hours changing every ones name but I see he must have created some kind of script to do it and I would love to know how he did it.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#46730
Avatar

ocStaff (admin)

It's a new-style override for OCF (4.1+). New-style overrides are kind of weird but work really well. The init function of the override file passes the code of the original file through a filter, making changes. i.e. the code in the override rewrites the original code to do something slightly different.

Specifically the code changes the ocPortal's get_username function in the OCF forum driver. The new code amends the usernames according to a pattern before returning it.

sources_custom/forum/ocf.php.

Code

function init__forum__ocf($in)
{
        // init code from the original ocf.php file (this is copy&pasted)
        global $LDAP_CONNECTION;
        $LDAP_CONNECTION=NULL;
        global $EMOTICON_LEVELS;
        $EMOTICON_LEVELS=NULL;
        global $FLOOD_CONTROL_ONCE;
        $FLOOD_CONTROL_ONCE=false;
        global $SENT_OUT_VALIDATE_NOTICE;
        $SENT_OUT_VALIDATE_NOTICE=false;
   global $LAST_POST_ID,$LAST_TOPIC_ID;
   $LAST_POST_ID=NULL;
   $LAST_TOPIC_ID=NULL;
   global $TOPIC_NAMES_TO_IDS,$FORUM_NAMES_TO_IDS;
   $TOPIC_NAMES_TO_IDS=array();
   $FORUM_NAMES_TO_IDS=array();

        // Change a specific line of code in the original file
        return str_replace("return \$this->get_member_row_field(\$member,'m_username');","return xmas_filter(\$this->get_member_row_field(\$member,'m_username'));",$in);
}

// Our new line of code references this function, which does most of the work
function xmas_filter($in)
{
        $alphabetic=array(
                'Angelic',
                'Baubles',
                'Christmas',
                'Dasher',
                'Evergreen',
                'Festive',
                'Gifted',
                'Holiday',
                'Icicles',
                'Jolly',
                'Kingly',
                'Enlightened',
                'Merry',
                'Noel',
                'Ornamental',
                'Party',
                'Kingly',
                'Rudolph',
                'Seasonal',
                'Tinsel',
                'Yuletide',
                'Visionary',
                'Wiseman',
                'Xmas',
                'Yuletide',
                'Xmas',
                );

        if (strtoupper($in{0})!=strtolower($in{0})) // Only letters will pass this test
        {
                return $alphabetic[ord(strtoupper($in{0}))-ord('A')].' '.$in;
        }
        return $in;
}


Last edit: by Chris Graham



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#46738
Avatar

Community saint

Thank you much Chris you should have that as an add on. ;)

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#64987
Avatar

Community saint

This was a clever addition to last year's 'Festive Season'. I'd like to use it this year, but I am a bit doubtful as a 'diff-check' showed masses of differences between this and the 5.1.0 file.

Can it be used 'as-is', or does it/can it be updated?

Thanks.

 :christmas:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#64994
Avatar

ocStaff (admin)

post edited but I haven't tested it



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#65003
Avatar

Community saint

Thanks.

I'll give it a bit of a run and report back if there is something 'major' to note.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#65063
Avatar

Community saint

Thanks for this... works great on one of the sites I designed.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: