![]() |
NTLDR,
I don't know if I asked you this before, but do you know how to make the news page give you a page listing at the bottom like vBulletin does. This would be kind of a news archive. So, you'd set how many news items you wanted on the page.. fine, but then be able to let the user go back in time. Another idea that I'd like to exploit is to subhead the news by Date.... so you get. Monday, August 25, 2003 News Headline 1 Story................. ....................... News Headline 2 Story.................. ......................... Sunday, August 24, 2003 News Headline 3 Story..................... << Page 1 <> 2, 3, 4, Next >> Something like this. If I could figure out the page thing first, that would be way cool.... Can we exploit the code and template that vBulletin uses to do this bit? Thanks. |
For the page navagation you can use the getpagenav() (Pretty sure thats what its called in vB2) function which generates the page navagtion links (Page 1, 2, 3 Last >>).
Also it will require and edit to the news query and a few extra variables. Alot of the vB files have this (memberlist.php, showthread.php, forumdisplay.php for example). I don't think it would be too hard to do and may include this as standard for v3.0.0. For grouping by date, you would need to store the last date (without the time) and compare it the next time round the loop, if its different then update the last date and add the header to the template. Here is an example of what I mean: PHP Code:
|
This version can use for vbb 3.0 ????
|
I cannot find where the hell in the templates or anywhere the "Quick User CP Links in the menu when logged in" is! I HAVE LOOKED VERY HARD THEY ARE NOWHERE!!! Lol this is very fustrating because I want to edit those links. Please tell me where I can edit those.
Thanks in advance, and btw great job on the hack! |
I'd sugest asking in the support thread for that hack. IIRC they may be in forums/globa.php and not in a template.
|
I'm sorry but what do you mean support thread for that hack? I don't think it was an add on it came with your hack and the support thread is THIS thread, excuse me if I'm wrong please correct me if I am. I'll check it out. Thanks
|
Quote:
EDIT: And I do not see it anywhere in global.php |
Sorry, I thought you were reffering to another hack that switches between a registeration and user cp link in the header.
Look in the home_welcome_logout template IIRC. |
Thanks, I found it, but I asked a friend to give me the info since VBorg was down for the day, but if I didn't find it this answer would have helped. Thanks a lot. Btw is there anyway in the news script I can make a <br> space between news posts, and also show the username of the person who posted that news.
Thanks |
The new posters username appears by default. To split the new blocks up you need to edit the home_news and home_newsbit templates.
|
|
Yes I have tried experimenting with that but I don't know where to put the <br>'s in each template, can you help me please?
Edit: I just had a crazy idea, is it possible for 2 vBindex's to be installed on one server? If so, here is my idea: I have a clan that I run and I am considering making a seperate vBindex for my clan's forum and page, but my site is hosted on my forum's site, so my forums is mysite.com/forums and my current vbindex is located at mysite.com/index.php but my clan's site is going to be mysite.com/clan/ and so I was wondering how to get the vBindex working since my clan's site is not in the forums directory, and it's not in the home directory, but it's in it's own directory. Oh and my forums for it wouldn't even be /forums the main forum for my site would be somthing like mysite.com/forums/forumdisplay.php?forumid=9 This might sound kind of confusing but see if you can get what I am saying. I like vBIndex a lot and I want it to be my home page for my clan site and it's forum. Thanks. |
Quote:
As for the news you'll need to re-do the entire table structure so that each news item is in its own table seperated with a <br /> |
Loom through the thread? It is 103 pages long, but I'll do my best. I am pretty busy lately. Thanks for the answer.
Edit: Oh and I forgot to mention, I do believe it is a violation of your code to remove the copywrite text from the footer of your hack. Well I have come across a lot of sites that have, and I'm sure there is plenty out there. I think that is a discrace and you busted your balls to make this hack. If you need to find some, just type in vBindex in a google search and check out all the sites and look at there footer. One I happened to note was this one: http://www.dfrsquad.com/forums/vbindex.php Copywrite text is clearly removed from the footer of that page, and yes it is powered by vbindex. Just thought you should know because I greatly respect your work. Edit2: Also now that I look, I don't think you exactly understand what I'm saying here. I do not want another page for vbindex, I want a SEPERATE vbindex. The seperate one pointing to a different news forum and different settings and different templates, not just a page you click from a link and it opens up a new page in vbindex that you customize. I mean an ENTIRELY different vbindex, please read my post again to see what I'm saying, and if you DO understand what I'm saying I'm sorry for doubting you, just making sure. |
Quote:
To have two version of vBindex running, you would firstly need to rename all the templates to newtitle_X from home_X and add them in the ACP for the styles required and then make a few modifications so that the news forum can be different for each one. See back a few pages for the variables you'll want to change. |
Alright I'm going to give this a shot later, I wish I could have one on one instructions, but your a busy guy and I respect the help your giving me :)
If you want to check it out what I have currently done you can go to: Http://www.diablo-world.net Thanks. |
If you go back several pages to areas where NTLDR and I were discussing some hacks to the hack, you'll find how to do what you want in explicit detail. If you look at my site, I have many vBindex's. I actually made a single vBindex home page and I dynamically feed it a variable to completely change the page, the news, etc. Even though I have many of the vBindex blocks turned off, it's still basically what you want I think. If you go my site and click on the different phones, you'll be taken to the different pages. And, even though YOU are busy, YOU do need to read back through the thread to find what YOU need. I did it when I came here, and it took me quite a while, but it was worth it. You'll find that people are more happy to answer your questions when you've put in a little homework before hand. This is an awesome script, and very simple and easy to twist into what you want it to do. NTLDR did an a great job.
|
For those of you interested in vBindex for vB3 I hoping to have the first beta ready in the next few days. All the existing features (excluding the poll) have been re-done and many more new ones added :D It uses 15 queries with all the current options switched on and does alot more then 2.1.
This will be an Addon to vB3 Beta 7 and requires no hacking of origional vB files to work correctly ;) |
Let me know if you want a beta tester.
|
Quote:
Satan |
Just responding to a prior comment from NTLDR.
|
I'll be releasing a public beta very soon, as I think its pretty much bug free and could be a while before I can vB3 hacking is allowed rather than the private selected beta I had previously planned :)
|
[high]vBindex v3.0.0 Beta 1 - Public Beta Released[/high]
I happy to announce the first release of vBindex for vBulletin 3. This is the first beta so it may still have some bugs left in it, however after testing both here and at hellsatans site most of the obvious bugs have been resolved. The templates remain largely un-phrased untill vBulletin have added all a majority of the phrases into the language system. Due to the restrictions on discussing vB3 hacks and Addons here at vB.org, vBindex 3.0.0 Support will only be given over at Core Forums when you have PM'ed either myself or hellsatan your Core Forums username to us via the vB.org PM System. vBindex 2.x support will remain in this thread. Code:
To download you will need to enter the following forum password: The following are the features that are presently avalible in vBindex, those marked new have been updated since vBindex 2.1.
[high]Installation/Upgrade[/high] Full instructions can be found in the zip file containing the source code, which can be downloaded from our forums. The templates provided with Beta 1 are designed for vBulletin 3 Beta 7 due to the new image folder structure. |
I'm confused how/where vBindex 3 can be downloaded from? It has code and it says to download I have to enter a forum password, but where??
|
<a href="http://www.coreforums.net" target="_blank">http://www.coreforums.net</a>
|
Thanks, I figured it out already :)
|
I installed vbindex using the instructions. Everything seems to be working correctly, but when I post something in the News section, only the subject line and the avatar show up and the post doesn't. Any ideas?
|
You need to run the update counters option for vBindex as per the install instructions.
|
The install instructions listed for download here don't say anything about updating counters. Thank you, however, for you help on this NTLDR....as always, you're the man!
|
Also, do I need to update the counters every time I make an announcement in the news section?
|
Only after you have installed the hack and have existing newsposts or if you change the news forum and the same happens, otherwise its done automatically with the change in newthread.php :)
|
how can you share this code for all members ??
|
Quote:
Satan |
For those of you interested in the vB3 version of vBindex, Beta 2 has been released at Core Forums. Please see the Beta 1 post for details on how to obtain and get support for the vB3 version of vBindex :)
|
Sorry if this has been asked already...how do you go about deleting a shout from the shoutbox once posted?
|
I inquire about the same problem.
|
//PM sent to active CF.net account. Re-read your post and deleted my previous inquiry. Sorry!
Regards, Patrick |
Quote:
|
Quote:
thx for sharing! |
is there any way to seperate the news columns? so they arent all togather.. Like the way you did it for VB3.. Could you give us the vb3 style newsbit template? Please? Thanks :)
|
All times are GMT. The time now is 11:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|