![]() |
By the way... How would i remove the "All times are GMT. The time now is" from the vbindex home page?
|
Is it possible to make some of the menu's Non minimisable?
|
yeah just take out the code from the template
|
which template would i edit to take out the time on the vbindex homepage
|
Quote:
Code:
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div> |
Thanks :)
|
Quote:
PHP Code:
PHP Code:
|
Quote:
Quote:
HTML Code:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vbindex_XYZ')"><img id="collapseimg_vbindex_XYZ" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbindex_XYZ].gif" alt="" border="0" /></a> |
Also about the footer, how would i get the bottom blue bar to size up automatically like the other tables instead of being wider.
|
that screen shot is nothing to do with vbindex
|
vbindex's homepage has pretty much the same footer as the one im talking about, I wanted to change both
|
Nevermind I got It how I want It Now, :) I think I did a nice job. Check it out...
|
Lol I just found a problem with mine, now when anyone goes to the vbindex homepage it still shows the same buttons as the admin would see. can someone send me the original footer code so i can revert mine back & fix this.
|
Just copy the conditionals from the footer template :) (Or click show default in the footer template if you wiped them there too).
|
theres nothing in the show default box
|
I just need a copy of the template so i can enter it again
|
nevermind i got it how i want it lol :)
|
|
An Encyclopedia could be done just by adding some HTML for the extra pages. I'm sure the store hacks when release could be easily integrated onto the page too.
|
Quote:
Thanks, that did the trick! Chas. |
Something like this for your great hack https://vborg.vbsupport.ru/showthread.php?t=60135 ?
|
I get an error when i try to go to the next step - "Adding vBindex event-Cache", and can't finish the installation:
-------------- Database error in vBulletin 3.0.0 Release Candidate 2: Invalid SQL: INSERT INTO datastore (title) VALUES ('vbi_eventcache') mysql error: Duplicate entry 'vbi_eventcache' for key 1 mysql error number: 1062 Date: Saturday 17th of January 2004 05:52:15 AM Script: http://****/install/vbiupgrade3.php?step=6 --------------- This is the second hack i install and dunno PHP.. What should i do ? Please Help... |
Quote:
|
[QUOTE=zenmasteril]I get an error when i try to go to the next step - "Adding vBindex event-Cache", and can't finish the installation:QUOTE]
Seems you have tried to do that step twice, point your browser to install/vbiugraded.php?step=7 to continue the installation. |
When I install and run the installer and everything, the phrases and templates don't get installed. All steps from step 7+ don't have any text to notify me that something has happened (such as Installing phrasetype etc.)
Any fix? :) |
Odd, the same text should appear that comes up when doing it in the ACP/during the vB install. Do the templates appear in the ACP?
You should see: Importing Templates For Style: ..... (for each style you have), Importing vBindex Phrases (for the phrases, after the templates/image paths and style rebuild) then the final step. Do you get any text on the next step button at the bottom? |
Quote:
Also, I do still get the text on the next step button at the bottom, I guess because those are already basically pre-set. |
Is the next step on the button 'Edit Image Paths'? And the URL install/vbiupgraded.php?step=7
|
Quote:
|
I can't think why nothing at all shows, there are only so many reasons why that could occur, 1) there isn't a step 7 in that file, well there is by default, 2) its somehow 'died' before getting to the xml_import_templates function, 3) it 'dies' at the very start of that function. All three of which I don't think are very likly.
I'd recomend clicking next and continuing, at the end see if they are in the ACP, and if the other steps execute correctly. It won't do any harm continuing if it hasn't imported the templates correctly. |
Yeah I know, that's what I did, I went all the way thinking that there shouldn't be any text anyways. But alas, no vBIndex templates or phrases (although all steps before step 7, I believe, imported correctly.)
|
There is only one real difference with how the steps are done in vbiupgraded.php so its worth a shot, find and replace all instances of (in vbiupgraded.php and re-run vbiupgraded.php?step=7):
IMPORT_TEMPLATES_STEP with 7 IMGDIR_EDIT_STEP with 8 REBUILD_STYLES_STEP with 9 IMPORT_PHRASES_STEP with 10 FINAL_STEP with 11 Thats all I can think of right now, although I will investigate further. |
Quote:
I know it's not your hack, but if you have some experience installing this I would appreciate any suggestions. Thanks, Chas. |
Quote:
I guess there are still some bugs to fix in the installer, but I mean, props to you for building such a good product/hack still ;) :D |
That same error happened to me yesterday, but my install worked perfectly after I tinkered around in phpmyadmin. Turned out that a mysql entry already existed for something at step 6 (I believe I may have clicked the button twice for that step, so I probably sent the queries through twice), and every step after that didn't do anything until I went back and corrected it. It was rather a pain in the neck, but with the hack working now, I couldn't be happier.
One thing I wish were possible however. On our index page, when I enable the calender showing weekends, only it gets wider. It'd be helpful if all the boxes on the side it's on were widened when that option was selected. As it stands now, we're going to have to do it through template altering. |
Is it possible to place PHP code within the vbindex_header template?
If yes, then how? thanks... |
[QUOTE=NTLDR]
Quote:
|
Quote:
Thanks for the feedback too :) |
[QUOTE=Anarchy]Is it possible to place PHP code within the vbindex_header template?QUOTE]
Only phpinclude_start and phpinclude_end can contain PHP. In vBindex RC3 you can add templates for PHP code for the extra pages (vbindex_extra_php_X) however no other templates can contain raw PHP (excluding the <if> conditionals). |
Quote:
|
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:
|