![]() |
Quote:
http://synthforum.com |
vBcode Fix:
Find: PHP Code:
PHP Code:
|
Kicks]I read through about 19 pages of this thread for the problem I'm experiencing and gave up :)
I have a weird issue on the vbindex.php page. It successfully pulls the title of the news post, the icon used for the news post, the number of comments/replies, who posted, and when The only thing missing is the actual content of the news post. I first thought it was because the characters for news post under the admin cp was set to 0 so I tried changing it to 100 to no avail. Any feedback is appreciated :) Maybe it's on one of the pages I didn't get to, but I gave up :D |
Go into the ACP -> Update Counters -> Update postid's
This will then update your threads table and news posts made before you installed will appear on the site :D |
Kicks]That did it! Thanks :)
That's one of the few places I didn't bother checking. The thought didn't even cross my mind. Thanks!! |
Quote:
Second wish c.q. problem. If i do a sticky it does not stick on the news page. Any codes for me NTLDR ;) |
Have a look towards the start of the thread I'm not sure if I did this modification before or not.
|
NTLDR,
is there a way to edit online.php so that when you look at who online you don't get something like : Unknown Location: /vbindex.php? LeMarsu |
Either install the hack by FireFly so you can add locations from the Admin CP or open online.php and see how the other PHP files are done. Theres two blocks of code for each one.
|
NTLDR,
Thanks I updated online.php replaced PHP Code:
PHP Code:
PHP Code:
by PHP Code:
|
Have a look at the attached Pic.
As you can see the news that reads "Monster 2003 Weekend" has "Read Full Post - Comments (0) - by LeMarsu - 06-11-2002 08:39 AM" completely out of line. It in not on the bottom right, plus there is some text from the post attched to it. SAmi |
Does that post happen to use HTML?
|
there is no html just BB code.
thread is here : http://ducati.artscience.tv/monster/...p?threadid=522 Code:
THE 1st UK MONSTER WEEKEND! |
Its becuase you have the character limit on and the limit happens to be in the middle of a <a href=".... thus there is no "> on the end of it, altering that should solve the problem :)
|
ok, i got it all installed and there are no errors or anything, i just still appear on my forum home, i was looking at step 6 and thaught that would prolly sort it out, but im not sure on what to do. can someone pelase help :)
|
.htaccess will only work if your using Apache, your host allows it and you have placed the file in the same directoty as vbindex.php
|
apache version 1.3.26, ok, so, how do i do this ?
|
The instructions tell you exactly what to do ;)
|
meh . but whats a .htaccess file , sorry , im new to almost everything, baring php,... altho i still suk at that :(
|
Create a file called .htacess just like the instructions say with the content they say.
|
lol, im so dumb, anyway, i couldnt find all the files, altho its roly just me bein thik, so im givin up, cheers for the help anyway
|
Every file thats required is in the Zip along with step by step instructions. All anyone has to do is read them to be able to install this hack.
|
the installer did something really weird:
i had it update my 2.01 installation. it added the new database field fine, but when it came to the templates, it did the following: it added my modified templates again. every template doubled, with even the same templatesetid. i had to do a delete from template where title like 'home_%' and reinstall the default templates with your installer... just fyi kreftt edit: and btw, its the best portal solution ive seen so far, and as firefly doesnt answer emails on how to pay for his vportal, it will most likely stay the best edit2: is there any chance you could attach the 2.01 templates again to have araxis merge tell me the changes? i have heavily modified my templates (and translated) and wouldnt really like to do everything again. tia kreftt |
Strange, it should delete all your templates first.
Thanks for the comments, its nice to know that the work thats gone in has been apriciated. I've attached a copy of the only set of v2.0.1 templates that I have in a zip :) (Note, they all start vbidemo_ but they are the same as the home_ ones were ;)) |
it cant delete the old ones:
your file says: PHP Code:
PHP Code:
PHP Code:
thanks for the templates |
NTLDR
I would like to say thank you for all you help and sorry for all the stupid questions I have posted up in the last few months as I was learning about php and Vbulletin. The users of the forum love your vbindex and the integration of the shoutbox. (why dont you do a similar addition with the weather?) I would really like to thank you for the addition of being able control vbindex via the Admin CP. I would like to add this is a great hack!. Got to go and pretend I am working while I trying to add one more piece of functionality. Thanks LeMarsu |
Quote:
Thanks for the comments and feedback :) |
fyi ntldr, the same thing happened with me when i tried to upgrade from 2.01 wherein it just doubled all the home_ templates. i just deleted them all with your installer and reinstalled them and it was fine.
i just thought that was a step in the instructions that must have been missing. btw, the new theme's going great. you designed vbindex in such a way that moving things around is a breeze. thanks bud. |
I shall look into that for v2.2 if I ever do it ;)
I'm looking forward to seeing your site Buddha, it sounds impressive :D |
for those who have the problem with their bbcodes breaking in pieces when characterlimit is reached:
i think i found a solution, which allows the following things: -have admins post html -have the "read more" whether the post is over the limit or not -have the post cut itself in front of a bbcode that would be cut in half by the character limit -have the post cut itself in front of a html tag that would be cut in half by the character limit -have the news post follow the "use smilies" option that you set when you post the news YOU MUST NOT - use [ tags in your news posts except in bbcode - use slashes inside html arguments. means you can do Code:
<a href="http://ww.vbulletin.org/forum">vb.org</a> what you need to do is to is to 1) backup your vbindex.php 2) replace the whole news section (starting with: Code:
// news (based on code by TECK) Code:
// end news with the code below from how i understand it there are no additional queries, and from how i understand it it was the first time i used all these functions so there might be errors. it works for me though. PHP Code:
feedback appreciated kreftt |
I get the following code when viewing the vbindex page as a guest:
Warning: unexpected error in date() in C:\DDVBBoard\upload\admin\functions.php on line 1613 This is installed on 2.8 version. Do you have any idea how to fix this? Thanks. Odil |
my first post here lol, Ok I read the whole 72 pages last night and again today lol but dont see a fix, well the one I do isnt working on a permanent basis.
great hack by the way and thank you. I installed it on my test forum and works perfectly. Installed it on my real forum and works great too.However when I make a new news post the content doesnt show up. So I ran the set post id, then found the update counter addition and added that. It works for the new post I made. But then if I were to go add another news item today I would have to update the post id's again for the content to show. Which is no big deal since I will be the only one entering new items anyway. I must have missed something though.So if you can point me in the right direction it would be appreciated.I am sure I never saw this in the 72 pages but who knows i may have missed it, if so ignore me lol Here is my real forum, the news shows now since I updated the id's after I posted. http://www.graphicsteck.ca/vb/vbindex.php?s= Side note I am helping another person install his and he gets it installed fine, the templates are there but no link to the vbindex in the ACP |
bromyaur, you haven't followed the instructions, you need to make the changes to newthread.php ;)
|
Quote:
I will test this code out kreftt, can I add it to the next release, with full credit given of course? |
Oh lolololololol
Sorry about that, thats what happens when you install it twice, and during the process are posting messages back and forth in another forum trying to help someone else install theirs while being very tired lol Note to everyone.. Make sure you have more than 3 hours sleep when installing hacks.lolololol Sorry about that |
*hehe* No Problem, we've all installed hacks real late or after getting no sleep, its not the best time ;)
|
Quote:
there is really no point in having a read more link, but the current vbindex always displays the link, as the condition is the existence of the maxnewschar-variable. so i thought it might be better to chage the condition, but in fact you are right: its useless. |
hey bromyaur, i like the colors you've used on your site.
fyi, you need to change the color of the font in your polls template. "votes: 2 100%" is white, on a white background, so you can't read it without highlighting it. just in case you weren't already aware. *edit* also checked, and your shoutbox title is white on a white background. you may want to change that too, bud. take care. |
I love the hack but for some reason I have a url location problem. I hope you can help with this.
Please keep the instructions simple and detailed LOL I?m not the best at doing this kind of stuff. Thanks in advance Joe I recently installed vbindex 2.1 on my forum. Everything?s working fine except that the portal is located at http://www.myurl.com/vb/ instead of www.myurl.com My forum is at http://www.myurl.com/vb/index.php How do I get my portal to view at www.myurl.com and my forum to view at http://www.myurl.com/vb/index.php I followed the instructions and put the vbindex.php in the vb directory but I can?t get it to view at the proper url ((I saw this on the instructions do I do something with this and if so what would I do .))) If you intend to run vbindex from a directory other than the one your forums are in uncomment & set: chdir('./path to forums'); to the path to your forums directory relitive to the directory vBindex is run from. {{{Or do I need a redirect script and if so can you tell me what to put in it and were to}}} upload it. (im using cpanel if it helps to know) Thank you for your help |
you would move your vbindex.php to myurl.com
you rename it to index.php then you change the line that you posted to: chdir('./vb'); then you should be set... |
All times are GMT. The time now is 02:10 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:
|