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)
-   -   Forum News (News in a Forum) (https://vborg.vbsupport.ru/showthread.php?t=41052)

bill-t 08-05-2002 07:31 PM

Yes, I completely undid everything... I think I had everything right except importing the .sql file... Had to do full uninstall cuz it trashed my forums... I couldn't created new forums, couldn't post... got db errors... The errors referenced the table I created... No surprise since I had never manually created one before and winged it... I know myphpadmin is supposed to be able to import the file, but couldn't make it happen... Will do full install again after i'm sure i understand how to do that and it's late enough none of my users will be on the board... any help appreciated... was looking for a script specifically like this for both my vb and for wallpaper I'm making for my wife's dtop...

bill-t 08-05-2002 07:34 PM

let me re-say that... I know for sure I had evrything correct... Uninstalling it was a breeze... Working backwards everything was exactly where it should be and didn't take long at all... (By the way, your notes with the line numbers and stuff are the best I've used...) I've had to rebuild my board from scratch over the last 3 days, and I've done at least a dozen hacks in the last couple days... Every one of them worked on the first attempt... Even so, yours was the clearest despite the fact I failed first time out, lol....

JJR512 08-05-2002 09:24 PM

So your problem was just with importing the database stuff?

bill-t 08-05-2002 09:30 PM

correct... what are the verbatim step for importing the .sql file via phpmyadmin when the table (newsforum or whatever it was called - sorry, don't have the documentation on the screen, but obviously you know the name, lol) doesn't exist to begin with... I tried the obvious, clicking on the choose button and navigating to the file on my hd and it would try and execute the file, but it couldn't load the info as there was no table to load it into...

JJR512 08-05-2002 09:44 PM

In the instructions, in this section: III. Database Modifications, you need to do all the stuff listed in there. The first thing is an ALTER TABLE statement. What you do is copy the entire line(s) and paste it into the Query textarea (window) in phpMyAdmin, then hit Go. Now since you say there was no table to load the stuff from the file into, you probably missed the next part, which starts with CREATE TABLE forumnews (. Copy that entire section, from that line through ) TYPE=MyISAM;, paste that into the Query window, and Go. Make sure you have done the three queries after that as well (if you're not sure if you did or didn't, you can check by going to your admin cp, vBulletin Options page, and look for a section called "Forum News"; it will probably be the last section). After you have done all that, then you should try to import the sources.sql file, by doing just what you said you did the first time.

bill-t 08-05-2002 09:57 PM

You're absolutly right... I went thru those directions at least a dozen times and somehow missed ever even reading that paragraph every single time.... Unbelievable... The one below... speechless... Thanks!

<CREATE TABLE forumnews (
forumnewsid smallint(5) NOT NULL auto_increment,
xmlsource char(100) NOT NULL default '0',
title char(250) NOT NULL default '0',
PRIMARY KEY (forumnewsid)
) TYPE=MyISAM;>

Erwin 08-06-2002 01:17 AM

JJR512,

This is a great hack, as usual from yourself. :)

Just a question - is it possible to create my own keyword to search Moreover with so that I can have my own news category?

bill-t 08-06-2002 06:51 AM

Installed in minutes this time, thanks!

TalkHardRandy 08-07-2002 12:38 AM

I got a small problem & don't know how to fix:

I installed the hack with the add-on at the same time, however I go into my admin CP & I see a blank area under "Forum News". First thing I checked was the settinggroup queries... sure enough I put in the wrong number. Removed the three entries & tried them with the correct number - still nothing.

I've triple checked my PHP & everything looks the same. Any ideas?

JJR512 08-07-2002 01:09 AM

What is the settinggroupid number of the Forum News settinggroup? Did you put this same number in the appropriate spots for the two settings?


All times are GMT. The time now is 11:38 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.01050 seconds
  • Memory Usage 1,732KB
  • 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)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