![]() |
Hello, this hack is working great so far (basically ironing out config probs on localhost before uploading to main site), one or two things I'd like to do/suggest. Would it be possible to have "Add news item" available in the Admin CP? Or perhaps a nice and simple link in the postbit that moves copies any thread to the (hidden) news forum (though I think I'd work on that one myself.)
The other thing I'd like to do is have the forumhome (below news items) as it is in default vB. If you look at the image, you'll see what I mean. Anyone know which parts of code and templates I should copy across to make that work? EDIT: The clickable link in the postbit: I had this down: PHP Code:
|
Ok, I have some questions..
first, the link: www.crystalchronicle.com/myvbindex.php I want to move alot of the stuff on the left, to the right. Second: The site is based off of an RPG Game, and I need to have stuff like: Walkthroughs Strategy Characters Items Weapons Levels Creatures And so on, and then have them link to pages that have all that info. Question is... How do I do that? |
Tony - Were you upgrading or doing a fresh install? Does it work when you post a new thread in your news forum? Here's the quckest, easiest way I can tell you to fix them for now. Just log into phpMyAdmin and run the following query:
UPDATE post SET isnews='Y' WHERE postid=XX; XX would be the post id for your news post. You can find that easily by holding the mouse over the "edit" or "quote" buttons for that post and looking in your browsers status bar. At the end of the link you will see "postid=XX". Running that query for each news post will fix the problem for now. Marty - Adding news through the Admin CP, adding the link to the postbit, and adding the forums homepage under the news would require a little hacking. I can most likely tell you what to change, but it might be a day or two since it's the holidays. ;) Iezugod - Things can be moved around in the index template. I'm guessing you figured that out though from looking at your site. I'm not sure I follow you about adding the links... Where do you want them added? Are you saying you want to create more templates? |
Quote:
|
Hmm, something very strange. Any thread I *start* in the news forum becomes news, but any thread I *move* to the news forum is not recognised as news. Anyone know what's causing this?
|
Quote:
|
I got the following error. Please help me out:
Code:
Database error in vBulletin 2.2.9: |
Marty - The reason that posts are not appearing as news if you move them is because only posts that are started in the news forum will have the 'isnews' column updated. I should have some time later this evening or tomorrow to play with it and tell you how to change it so that a post in any forum could become news.
Quote:
Tony - Were the news posts made before you installed the hack? If so, then that's why the news wasn't working. It will only recognize news posts that have been posted after the hack has been installed. Either way running the query I gave you above will update the posts so they will appear on your homepage. Please re-read the instructions I gave. 17 is your fourmid, not the postid. You would need to find the postid for each news post and replace the XX in the query with that number. The 'Y' in that query should not be changed. WSB - You have to set your News Forum ID in your admin options before it will work properly. |
How hard would this be to add additional boxes within the index file to accomodate:
- Links - Afilliates - etc. Can I just embed the html code within the PHP file? Are the templates that are called a fixed width so that I could emulate the size with respect to what is being drawn by myvbindex? Has anyone already added these types of fields already and not make me recreate the wheel? I was also thinking how nice it might be to have multiple instances of myvbindex running that could link multiple news areas of a site while pulling the articles from multiple forums. For example, main page would show general news from forum xx, but there would be a link box on the side that held different interest areas like PC Games, MAC, etc. These links would pull up another instance of myvbindex that pull articles from the related forum. Am I just a dreamer? :surprised: :) |
Quote:
Quote:
Quote:
|
All times are GMT. The time now is 05:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|