vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Custom Who's Online Locations Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=42979)

Dean C 08-31-2002 08:41 AM

right.. i installed this.. and i dont like it..

when you goto modify Custom Online Locations if you have a massive member count like i do then it takes AGGEESSS to load...

it would be far better if it were editable via user.php thru their profiles...

and also... all of the members locations have now been set to " 0 " for some reason???

- Mist

Chris M 08-31-2002 09:51 AM

Nice one:)

Satan

N9ne 08-31-2002 10:43 AM

Interesting hack and I know for sure g-force2k2 has another few hacks coming our way tonight ;)

I don't think i'll install this though, as i've already got a list of 35 hacks to install and well i was trying to cut down :D

[D]Vincent 08-31-2002 01:00 PM

Vincent]Mn you're making alot of hacks lately, but they are all great so who cares :D I'll install this a little later.

g-force2k2 08-31-2002 03:35 PM

okay Mist my bad man... you can do one of two things to fix your problem ::

A) Run these two queries ::

PHP Code:

ALTER TABLE user DROP userloc 

and then run ::

PHP Code:

ALTER TABLE user ADD userloc varchar(250NOT NULL 

or you can open admin_wol.php and find:

PHP Code:

    WHERE userloc != '' 

and replace that with:

PHP Code:

    WHERE userloc != '0' 

that should fix the problem either or... i will update the zip :) regards...

g-force2k2

g-force2k2 08-31-2002 04:19 PM

zip updated with that small probably being taken care of... my bad i included a default value of 0 for the userloc reason why Mist didn't like the modification process hopefully it makes it easier now ;) regards...

g-force2k2

Dean C 08-31-2002 04:22 PM

what about editing the custom online location via user.php???

id prefer that as the page takes ages to load when you have 2500+ members ....

- Mist

g-force2k2 08-31-2002 04:25 PM

Mist the fix i just made only shows the users who have custom locations... but if you're allowing all your members to have custom wol locations then i will make the adjustment quickly for you if you'd like... regards...

g-force2k2

Dean C 08-31-2002 04:32 PM

no no... what i mean is i like it how it is...

ive just not let my members have the option of having a COL thru their profile...

id like to only do it manually thru the admin cp...

and i dont like having to do it thru admin_wol.php

could you get it to do it so to its done via when you edit a user thru the admin cp...

i.e. have a field in there....

- Mist

g-force2k2 08-31-2002 04:34 PM

yeah i know what you mean Mist :p i said i would gladly make you the edit for the admin cp user.php if you'd like ;) And i guess that is a yes :) so i will be back shortly :p regards...

g-force2k2


All times are GMT. The time now is 04:12 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.02171 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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