Jump to content


Photo

New and need php help...pleez!


  • Please log in to reply
3 replies to this topic

#1 Vanessa

Vanessa
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 18 October 2006 - 08:14 PM

We are using the php style forum and need some help setting things up.  We wanted to preload avators and give users the ability to use those...but not be able to use their own...question 1) how do I upload the ones we've chosen 2) how do I make it where users can only use what we've uploaded rather than risking them uploading their own and offending someone else on the board?  Please help...thank you.

#2 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 18 October 2006 - 08:23 PM

i'll move this over to the third party scripts area since that will get you more appropriate help for your script. to answer your question: your setup depends on what forum software you're using: PHPBB, SMF, IPB, etc.

as for not offending other users, most boards have an option in the admin panel where you can turn off all file uploads.

if you can give us more information as to what software you're using, we might be able to walk you through the steps.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#3 Vanessa

Vanessa
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 18 October 2006 - 08:30 PM

Awesome...thank you so much.  We're using phpbb.  I see in the admin panel where we can turn off the file uploads...so that takes care of that question.  Now if you can tell me how to preload the avatars we will let the users select from to use...that would really be helpful. 

#4 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 18 October 2006 - 09:53 PM

ok, here's what i was able to find on their FAQ page. hope it helps:

Local avatars allow you to upload your own avatars to a set directory, users can then pick from this avatar gallery. The default location for this is images/avatars/gallery. PLEASE NOTE that avatars are categorised according to sub-folders in this location! ie. you MUST place your avatars in subdirectories, eg. images/avatars/gallery/cartoons, images/avatars/gallery/real-life, etc.


You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users