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)
-   -   vBpad - Your personal notepad! (v1.0) (https://vborg.vbsupport.ru/showthread.php?t=29760)

Buffalo 04-22-2003 06:45 PM

how do I install this hack?? i've looked everywhere and can't find the directions.

Craigr 04-23-2003 01:58 PM

Quote:

Yesterday at 07:45 PM Buffalo said this in Post #261
how do I install this hack?? i've looked everywhere and can't find the directions.
From the first post:
Installer: (upload to your admin folder and run)

You unzip the file. You then upload the php install script to your admin directory then point your browser to the file and follow the instructions.

Craig

Buffalo 04-23-2003 03:51 PM

Where does this code go???
Code:

// ############################### start vbpad ###############################
$padbits="";
$counter=1;
if ($DB_site->query_first("SELECT lastupdated FROM usernotepad WHERE userid='$bbuserinfo[userid]'")) {
  $note=$DB_site->query_first("SELECT * FROM usernotepad WHERE userid='$bbuserinfo[userid]'");
  $splitnotes=explode("|||",$note[notes]);
  while (list($key,$val)=each($splitnotes)) {
    if ($val!="") {
      $curnotes=bbcodeparse2($val,$padhtml,$padimgcode,$padsmilies,$padvbcode);
      $curnotes=stripslashes($curnotes);
    } else {
      continue;
    }
    if ($counter%2==0) {
      $bgcolor="{firstaltcolor}";
    } else {
      $bgcolor="{secondaltcolor}";
    }
    eval("\$padbits .= \"".gettemplate("usercp_mininotepad_bit")."\";");
    $counter++;
  }
  $padlastupdated=vbdate($dateformat,$note[lastupdated]);
  $padlastupdated.=" ".vbdate($timeformat,$note[lastupdated]);
} else {
  $bgcolor="{secondaltcolor}";
  $curnotes="Your vBpad is currently empty.";
  $padlastupdated="Never";
  eval("\$padbits = \"".gettemplate("usercp_mininotepad_bit")."\";");
}
if ($padbits=="") {
  $bgcolor="{secondaltcolor}";
  $curnotes="Your vBpad is currently empty.";
  $padlastupdated="Never";
  eval("\$padbits = \"".gettemplate("usercp_mininotepad_bit")."\";");
}
eval("\$vbpad = \"".gettemplate("usercp_mininotepad")."\";");


Craigr 04-23-2003 03:55 PM

Surely it will tell you in the installer.

Craig

Buffalo 04-23-2003 04:03 PM

It reads...
Find this code:
Code:

// draw cp nav bar
Add this code right below:
Code:

the previous posts code
Only, the find code doesn't exist.

Tigerdude 05-10-2003 07:25 AM

I tried installing it and got this:

Fatal error: Call to undefined function: generateoptions() in /home/mydirectory/public_html/install_vbpad.php on line 6

Can anyone help?

Holidazed 05-21-2003 08:22 PM

Well, after reading every post in this thread, ,I see that several people installed this hack and did not get the configuration options in the ACP. Those of you who have the Admin Control Panel option to configure the vBPad, can you please tell us how to add the options to our ACP??

I have read and re-read every post here and did the same on the hack installation instructions and nowhere is it mentioned about putting the opting in the ACP so we can configure the blasted thing.

Please help a guy out will you.

Cyricx 05-22-2003 12:49 PM

It's under my VBulletin Options that it lists the stuff to configure the VBpad, as far as where in the installer that it installs them its the -

// ###################### Start install db #######################

Section.

I'd give you more detail if I knew enough about php to guide ya heh.

Holidazed 05-23-2003 12:20 PM

Well, I looked and saw no reference to vPad at all.

Holidazed 05-27-2003 04:36 PM

Is anybody able to help with this problem?


All times are GMT. The time now is 12:52 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.01376 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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