PDA

View Full Version : i accidenly deleted my news archive module


shadiguy1
07-19-2004, 07:19 PM
Could someone please post the code and settings that i should be using i need to get this back up asap thanks you guys at this site rock :)

Brian
07-19-2004, 07:56 PM
Just run this query. :)

INSERT INTO adv_modules (title, identifier, filename, inctype, modcol, displayorder, templatelist, userperms, active) VALUES ('News Archive', 'newsarchive', 'news.php', 0, 1, 3, '', '', 1);

Our Sponsors
 

shadiguy1
07-19-2004, 07:57 PM
not to sound retarded how do i run a query i tried on imy vbulletin maintince thing and its saying i dont have access to run querys i dont know why as i am the administrator.

Brian
07-19-2004, 07:59 PM
You can either use phpMyAdmin, or if you open your config.php file there is an option in there where you can set the userid's which should have permissions to run queries.

Our Sponsors
 

shadiguy1
07-19-2004, 08:12 PM
got that back up brain and the news archive is back up i have News items to show set to 2 and News Archives to show 5 and for some reason its only showing 1 news archive and 5 news items still??? Any input wold be greatly appreciated...

Brian
07-19-2004, 08:45 PM
Did you change the options for that specific page?

shadiguy1
07-19-2004, 09:30 PM
that was it thanks brian everything up and running now.. Thanks again for the great portal and The Superb Support.