vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   User Away Messages (https://vborg.vbsupport.ru/showthread.php?t=67250)

pagekeeper 12-31-2004 02:53 PM

just curious havent you repeated the following twice ?

HTML Code:

==========================================================
[FIND]-->
                homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "',

[REPLACE WITH]-->
                homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "',
                awaystatus = $xawaystatus,
                awaymessage = '" . addslashes(htmlspecialchars_uni($xawaymessage)) . "',
                awaysince = $xawaydate,
==========================================================


docvader 12-31-2004 09:01 PM

OK, this is bizarre. Wonder if anyone can help.
Installed without a problem. HOWEVER, if you are logged in, you cannot go and view your own member profile. (You can see other's without difficulty, and, they can see you. But you get a blank white page when you go to member's list and try to view yourself).

Any ideas????

rich

Crank 01-05-2005 03:34 PM

Quote:

Originally Posted by Bison
It would be nice to see all of this in a text file ...

ya any chance of an updated version coming i would love to install this.

docvader 01-05-2005 04:39 PM

Quote:

Originally Posted by Crank
ya any chance of an updated version coming i would love to install this.

OK, problem was a mis installation of the VBChat, that wiped out my member profile thing, not this hack. This hack works great. Sorry for the confusion.

pagekeeper 01-30-2005 02:43 AM

im trying to add this on vb 3.0.6 i had it before i upgraded so i reinstalled it, but when i test it, the away fields dont save ..... do you know whats causing it ?

wb-legends 02-16-2005 03:33 AM

Alrighty...I followed all the instructions (and then went back and added in the second homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "', that's in there a second time as well as change my " $show['extrainfo'] = true;" thing with the different combos since it shows up twice in my file..and its still not showing up. Can anyone tell me what might be the problem?

lefthome 03-09-2005 11:04 AM

I would like to install this hack. Currently I am using vb 3.06 and will upgrade to vb3.07 this weekend. Does this hack work in vb3.07?

lefthome 03-16-2005 10:37 PM

I?d really like to install this hack but I guess I?m missing something and haven?t been able to figure this out yet. I execute the query as instructed:



ALTER TABLE `user` ADD `awaystatus` INT( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,

ADD `awaymessage` VARCHAR( 200 ) NOT NULL ,

ADD `awaysince` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL



But I keep getting the same message:



An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'forum.user' doesn't exist




Okay, so somebody told me that is because the file does not exist and I have to added the location just before user like; forum_user. Tried that and no luck so I search for the user.php file, which I assume is the right file and I have two. One in admin and one in admincp. I tried the query adding both and different error but still an error.



I don?t want to keep asking these silly questions so there has to be someplace I can learn about running a query in vb3.07. Can somebody assist me please?

Marco van Herwaarden 03-17-2005 03:20 AM

[sql]ALTER TABLE `user` ADD `awaystatus` INT( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,

ADD `awaymessage` VARCHAR( 200 ) NOT NULL ,

ADD `awaysince` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL
[/sql]
You are not editing files, but a table in your database. You are probably using a table prefix, thus the table named 'user' will be named something like 'prefix_user'.

To find your table prefix look in the bottom of your includes/config.php file.

For more information on how to run a query, click the link "How to run a query" above the sql-statement in my post.

lefthome 03-17-2005 01:07 PM

thank you for the help MarcoH64 and I will do as you suggest. By the way, the link is good, but the information is out of date when following those instructions and maybe they need updating from years back since the site linked is no longer what is described in the instructions and for someone like me, who hasn't a clue about this information it is rather confusing.


All times are GMT. The time now is 06:34 AM.

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.01125 seconds
  • Memory Usage 1,741KB
  • 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_html_printable
  • (2)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