Welcome, Guest. Please Login or Register.
June 26, 2024, 11:10:25 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [BETA 1.5] Avatar Upload « previous next »
Pages: 1 [2] 3 Reply Ignore Print
Author Topic: [BETA 1.5] Avatar Upload  (Read 12015 times)
sharkey
Jr. Member
**
Posts: 51


sharkey0903@hotmail.com WWW
Re:[beta 1.5] Avatar Upload
« Reply #15 on: March 18, 2003, 06:09:22 PM »
Reply with quote

Is there a way to restrict this so that it's only a moderator/administrator function. I'd like to give my administrators the ability to upload avatars but not normal users.
Logged


Visit the Movie Compound![/url]
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[beta 1.5] Avatar Upload
« Reply #16 on: March 18, 2003, 06:26:40 PM »
Reply with quote

Replace this:
//-------------- start of avatar mod
      if( isset($member['userpicuploadcheck']) ) {


With this:
//-------------- start of avatar mod
      if( isset($member['userpicuploadcheck']) && ($settings[7] == 'Administrator' || $settings[7] == 'Global Moderator')) {


That's a really dirty way of doing it, but should work.

-[Unknown]
Logged
sharkey
Jr. Member
**
Posts: 51


sharkey0903@hotmail.com WWW
Re:[beta 1.5] Avatar Upload
« Reply #17 on: March 18, 2003, 07:00:23 PM »
Reply with quote

thanks I'll give it a try ;)

With the above change what error will it return if a user tries to upload, or will it simply not show a user the option to upload?
Logged


Visit the Movie Compound![/url]
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[beta 1.5] Avatar Upload
« Reply #18 on: March 18, 2003, 07:06:47 PM »
Reply with quote

I said it was dirty :P.

They will think it was uploaded, but their acatar won't change, and it won't be uploaded :P.

-[Unknown]
Logged
funkissential
Noobie
*
Posts: 18


I'm a llama!

Re:[beta 1.5] Avatar Upload
« Reply #19 on: March 28, 2003, 12:11:06 PM »
Reply with quote

Will this mod be included with the supermod version of yabbse, or can it owrk with it, if i go to install it will it work with all the other mods already running?

Logged
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[beta 1.5] Avatar Upload
« Reply #20 on: March 28, 2003, 12:58:40 PM »
Reply with quote

Not at this time is it included and thats because it dont work for yabbse 151 like the author thought it would. He says he wont be upgrading it untill the final yabbse is released, why? I dont know. frustrates the tar out of me.


Quote from: funkissential on March 28, 2003, 12:11:06 PM
Will this mod be included with the supermod version of yabbse, or can it owrk with it, if i go to install it will it work with all the other mods already running?


Logged

funkissential
Noobie
*
Posts: 18


I'm a llama!

Re:[beta 1.5] Avatar Upload
« Reply #21 on: March 28, 2003, 01:12:39 PM »
Reply with quote

Hi, i have ogt it workin fine with my supermod installation of yabbse!!!

still testing it but it seems fine for me!!!

Logged
sleestak
Noobie
*
Posts: 1


Ssssss.....ssssss

Re:[beta 1.5] Avatar Upload
« Reply #22 on: April 02, 2003, 07:08:04 PM »
Reply with quote

Hi, I'm hoping somebody can give me some advice as to what I'm missing w/ my install.

I downloaded the mod, ran the php script that updates the settings db, then using the yabbpack center - I installed the mod.

However I am unable to find where I can turn any of the avatar upload settings on/off.  (I've looked in settings, mod settings, profile and everywhere in between)  Any ideas.

I'm running: YaBB SE 1.5.1RC1

Thanks.
« Last Edit: April 04, 2003, 05:48:44 PM by sleestak » Logged
Jumpydude
Noobie
*
Posts: 10


I'm a sexy llama!

Re:[beta 1.5] Avatar Upload
« Reply #23 on: April 04, 2003, 01:14:59 PM »
Reply with quote

  Hmm, this isn't good.  I tried to install the mod and for some reason the admin section doesn't show the new functions.  I ran the avatardb file and deleted it after it said the edit was a success etc.
 Still nothing so I tried to apply the mod as a yabbpak and now my admin section doesn't work.
 Gives me there errors when I click Admin on my board.
 Parse error: parse error in /home/www/prowulf/forum/Sources/Admin.php on line 62

Fatal error: Call to undefined function: admin() in /home/www/prowulf/forum/index.php on line 292

 I think something in the mod changed the php files so I can't access the Admin anymore.  I'm not big into codes and all that so I'm not sure what these mean.  Anyone out there who can help me with fixing this or how to apply the avatar upload mod?  Not having the Admin section working now is kinda bad :(

Edit:  I managed to get the admin working again by copying over the admin.php file i saved before I tried this mod.   Still can't seem to get the mod working though so if anyone can help or has a detailed step by step on how to do this, that would be great!
« Last Edit: April 04, 2003, 01:36:51 PM by Jumpydude » Logged
therczone
Noobie
*
Posts: 12


I'm a llama!

Re:[beta 1.5] Avatar Upload
« Reply #24 on: April 10, 2003, 09:02:54 AM »
Reply with quote

I need help.

I uploaded all 3 files into my folder with settings.php
I chmod the yabimages to 777
I chmod the 3 files to 777



Umm.....now what?  :'(
Logged
SteveJ
Jr. Member
**
Posts: 52


I'm No Llama...

stjaxn@hotmail.com WWW
Re:[beta 1.5] Avatar Upload
« Reply #25 on: May 28, 2003, 02:14:21 PM »
Reply with quote

Is this one ever going to be updated for the latest version?
Logged

[/url]
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[beta 1.5] Avatar Upload
« Reply #26 on: May 28, 2003, 09:16:55 PM »
Reply with quote

Technically, I believe it already is. Almost any mod ever made for 1.5.1 final, will work with 1.5.2, and 1.5.3. Unless, I'm mistaken, which I don't think I am this time :P
Logged
SteveJ
Jr. Member
**
Posts: 52


I'm No Llama...

stjaxn@hotmail.com WWW
Re:[beta 1.5] Avatar Upload
« Reply #27 on: May 28, 2003, 10:54:40 PM »
Reply with quote

Quote from: 1979Z28 on May 28, 2003, 09:16:55 PM
Technically, I believe it already is. Almost any mod ever made for 1.5.1 final, will work with 1.5.2, and 1.5.3. Unless, I'm mistaken, which I don't think I am this time :P

Yeah it worked.  Boardmod didn't work on the first step because it's looking for cgi instead of scripturl.  I think that was the only problem...it's working on my board now.

Thanks...

http://www.woopig.net/php/
Logged

[/url]
I, Brian
Full Member
***
Posts: 238


It is coming...

WWW
Re:[beta 1.5] Avatar Upload
« Reply #28 on: June 02, 2003, 12:22:03 PM »
Reply with quote

Couldn't get it to work on my chronicles forum. Only got two other mods installed, but this included the smilies mod, which may or may not be an issue.

Kept getting errors with:

Filename is already in use

and when I adjusted the filepaths in settings as per the earlier post, I got a message telling me that my jpg was not a jpg.

FYI.

Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, SeƱor (San Pablo)

Re:[beta 1.5] Avatar Upload
« Reply #29 on: June 11, 2003, 11:21:51 AM »
Reply with quote

I love this mod!!!
it works under YaBBSE 1.5.3?
I tried to install it but no success

Thanks!
« Last Edit: June 11, 2003, 01:44:48 PM by hprod » Logged
Pages: 1 [2] 3 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [BETA 1.5] Avatar Upload « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.184 seconds with 20 queries.