vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Moderator Template Editor (https://vborg.vbsupport.ru/showthread.php?t=43520)

blackice912 09-14-2002 06:00 PM

Thank you :)

snyx 09-14-2002 07:05 PM

just what I needed, sweet thx bro!

blackice912 09-14-2002 07:26 PM

No problemo :)

DWZ 09-14-2002 11:47 PM

Quote:

Originally posted by blackice912
Right now, I don't think you can set them up for multiple templates (verified, you can't at this moment)...I shall look into that.

And yup I plan on adding styles and replacements to this hack later on :)

Sounds good :)
Quote:

Originally posted by blackice912
Also if you want to let them add styles, then just don't delete that code when you install this (see step 4 in installation file) :)

ahh, ok, but I guess it won't be much use until they are able to edit more then one template set :(
Quote:

Originally posted by blackice912
I just wanted to get this part done since I know a few people who were lookin for it.

yep, thats cool :)
Quote:

Originally posted by blackice912
Hey I know you....you're on the Myacen forums!

lol, yep, thats me :)

blackice912 09-15-2002 02:01 AM

Quote:

Originally posted by DWZ
ahh, ok, but I guess it won't be much use until they are able to edit more then one template set :(
Curious, are we thinking about different things? When I say template set, I think all of the templates in a template group.

Chris M 09-15-2002 10:30 AM

Template Set usually means things like "Default", "Style 1" etc...

Es ist sehr gut Herr blackice912:)

*installs*

Satan

blackice912 09-15-2002 10:32 AM

Yeah, exactly what I was thinkin in my head Hellsatan

And danke Hellsatan :)

Chris M 09-15-2002 10:43 AM

Np;)

Was gibt es neues?

Satan

blackice912 09-15-2002 10:47 AM

My German is limited to very limited translating programs, so I have no idea what you are asking :) heh

Xenon 09-15-2002 10:53 AM

he asked something new? ^^

anyway i see you have modified my edit user hack for securiti reasons, but i think you have forgotten one thing:

you just disabled the inputbox if the varname is fieldID, but you didn't disable the DB change so it'll overwrite the value with an empty value if i'm not wrong.

so you also have to edit this part of my hack if i'm right:
PHP Code:

if($canedit[profilefields]) {
    
$profilefields=$DB_site->query("SELECT profilefieldid,title FROM profilefield");
    while (
$profilefield=$DB_site->fetch_array($profilefields)) {
      
$varname="field$profilefield[profilefieldid]";
      
$sql.=",field$profilefield[profilefieldid]='".addslashes($$varname)."'";
    }
    
$DB_site->query("UPDATE userfield SET userid=$userid$sql WHERE userid=$userid");
  } 



All times are GMT. The time now is 11:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01284 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete