Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - graficalicus

Pages: [1]
Mods & Plugins (Requests & Discussions) / "universal" templates?
« on: October 04, 2005, 07:29:06 PM »
hi - another request....

on my site, I have several different templates working - users can choose which one they want (great MOD - )

the one bad thing about multiple templates is uploading multiple copies of the same file- - I have one called "Challenge.html", for example, that I have to upload to each of the different template folders, even though it's the same file for all.

On my site, the only template files that are different from each other are home.html and the css & images.

is there a way to make "universal" template blocks (memberlogin.html, uploadform.html, etc. etc.) that can be called by every template, so a simple update doesn't mean changing many files? in other words, a separate template folder for blocks that are the same in every template, and separate template folders for the ones that are unique (home.html, styles, images...)?

Many thanks -

yep - we got hacked. Not from 4images, but 4images is the only part of my site I'm having trouble getting back online.

My host has now banned any scripts running as "Nobody" - but I don't know where to look to find what scripts are running as "Nobody" - can anyone help? Luckily I have a complete backup of just a day or two before the hack, so I'm not losing too much - just can't get the config to work again.

(ERROR! CODE 500 shows up on all gallery pages - my host says this is because of the new ban on "Nobody" scripts - ) - -

Help?!  Thanks...

I'm looking for a way to allow users to update their images, rather than just uploading a new image. If they make changes or edits to an image and just want to update the already-uploaded one, they can't.

If I (as Admin) click [edit], I have the option of uploading a new image to replace the one there - I can't find the permission line that would allow a user to update their own image -

Maybe somewhere here in member.php:
Code: [Select]
if (!$comment_row || $comment_row['user_id'] <= USER_AWAITING || ($config['user_delete_comments'] != 1 && $user_info['user_level'] != ADMIN && $user_info['user_cat'] != $image_row['cat_id']) || ($user_info['user_id'] != $comment_row['user_id'] && $user_info['user_level'] != ADMIN && $user_info['user_cat'] != $comment_row['cat_id'])) {

help, anyone?    :?:   thx....

Pages: [1]