![]() |
1 Attachment(s)
I always found the multi-page style of vB where page numbers are displayed at the bottom of the page, rather boring..
So I thought about modifying it & I came across a site running a forign language bb with a somewhat cool way of displaying the pages. Here is a snapshot of it.. Also note that whenever a page is accessed, that cell is highlighted in the table. Questions is: how can modify vB 2.0.1 so that it looks more like this.. Any Ideas? |
Just create a for loop... :)
|
Thanks for the input Guarddog.. but I have no idea what you're talking about!
|
I don't use VBulletin, don't have the code, but i've got an idea.
PHP Code:
|
Can someone hack this?
|
wow cool, can someone create this hack, looks pritty!
|
BUMP^
|
Agreed. Somebody hack this !! :D
|
looks awesome! thumbs up
|
1 Attachment(s)
(screenshot below) / vB 2.01
1. create new template called numbernav_own $firstpage_atag$doublearr1$endfirstprevtag $prevpage_atag$singlearr1$endfirstprevtag $pagenumbers $nextpage_atag$singlearr2$endlastnexttag $lastpage_atag$doublearr2$endlastnexttag 2. create new template called numbernav_pages_own (the content beginning and ending with a blank) $numbernav_atag$curpage$endpagetag 3. edit FORUMDISPLAY.PHP find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
add in headinclude template in the Style Sheets section ( <style type="text/css"> ): PHP Code:
Madman |
Lo mate,
first thanx for doin this!! Unfortunately, it doesn't work for me. I did as you said (execpt, that 2 lines $prevpage_atag=""; and $nextpage_atag=""; have been different in my file, they used ' ' instead of " " ) Everything else went fine, changed/added the templates, but it still looks same as before Im using IE 6.... Any hints? |
The Style Sheets are correct (http://www.unreal-alliance.de/vbulletin/), but who are the forums with more than 25 threads (standard in vB) per page.
Note: the modifications affect only the forum (all pages, which are called by forumdisplay.php display). MSIE6: Is all the same. I tested also the MSIE 6.0. Otherwise does not know however, what it could still be :( Sorry for my bad english Madman |
1 Attachment(s)
On our Board 10 threads per page is standard before splitting over multiple pages.
Take a look at this thread for example, its more then 70 replies: http://www.unreal-alliance.de/vbulle...9&pagenumber=1 it should affect it, or am i mistaken? Take a look to the picture. This is, what i want to get rid of :D |
[QUOTE]Note: the modifications affect only the forum (all pages, which are called by forumdisplay.php display) :D
|
Do'h :D
well, we are getting closer <switching to german language> Ich habe wahrscheinlich einen irgendwo einen Fehler gemacht, kann ihn aber nicht finden. Schau doch mal auf die site, vielleicht kannst du mir eben einen tip geben, wo ich suchen muss. Es sieht so aus, als ob etwas bei dem code f?r die aktuelle Seite und beim code f?r den Sprung zur letzten Seite nicht stimmt |
:D cool :D
forgotten this line to replace ? -------------------------------------------------------------------------------- $endpagetag = ''; -------------------------------------------------------------------------------- with: -------------------------------------------------------------------------------- $endpagetag = '</span>'; -------------------------------------------------------------------------------- btw - good german ;) Madman |
Sorry, there an error was in my entry. My entry was not displayed correctly in this Forum (probably by the vB code PHP). The error concerns the 2 templates - you must modify those again. I have mean entry in the forum corrected (vB-Code PHP removed).
Madman |
Quote:
<switching again> Nee, den </span> hatte ich nich vergessen. war drin. Was deine letzte message angeht, schreib mir das doch nochmal auf deutsch. oder sonst ICQ 13422324 (ich bin invisible) Bin noch wach (2:38) |
ich fasse es nicht - ein Deutscher. Mein Gott, mein english ist ja sooo mies - wieso l?sst Du mich erst ewig mit meinem english abk?mpfen :D
Also auf Deutsch: Bei den Eintragungen, die in den 2 Templates vorgenommen werden m?ssen hat sich im Forum ein Fehler eingeschlichen. Ich hatte es richtig gepostet, aber nach dem Abspeichern fehlten Eintr?ge - auch nach dem erneuten Editieren meines Eintrags waren Sie da (im Edit-Fenster), aber nach dem Speichern fehlten sie wieder :( Deswegen habe ich die Eintragungen, die in den Templates vorgenommen werden m?ssen ohne den vB-Code 'PHP' dargestellt. Dann ist es korrekt. Das war auch der Fehler bei Dir (dass zwischendurch ein $ angezeigt wurde und dass ein </span> bei Dir fehlte. Jetzt sollte es funktionieren :D cu Madman |
Thnx :D:D:D
It's working perfectly now! Great job. PS: Schlaf jut :) |
can someone wrap this up and create a good English language instruction file??
Thanks for the great work! |
Thanks Bad_Madman..
But I did exactly what you said and nothing changed! The thread pages are still exactly the same as before.. Is there anything else I should do? |
Step 1. (skip if exists)
create new template called numbernav_own Code:
$firstpage_atag$doublearr1$endfirstprevtag $prevpage_atag$singlearr1$endfirstprevtag $pagenumbers $nextpage_atag$singlearr2$endlastnexttag $lastpage_atag$doublearr2$endlastnexttag Code:
$numbernav_atag$curpage$endpagetag Step 2. edit showthread.php find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
Step3. Find and replace all Code:
class=\"thtcolor\" Code:
class=\"pageNum\" and last: add in headinclude template in the Style Sheets section ( <style type="text/css"> ): PHP Code:
That should do it. Thanx again to Madman! |
This is great guys.. I got it working..
One thing.. Pie'oh'pah..why is the hover function much slower in the forumdisplay? |
Dude,
i haven't done this hack! Therefore I won't take credit :D If you would have provided a link to your board, I could have checked though. If you took a look at my site (unreal-alliance.de) then its probably because of the shockwave applets running. This slows stuff up... Anyways, madman needs to take a look. I just followed your request by making the instructions somewhat easier to understand. -Pie |
" $numbernav_atag$curpage$endpagetag " (without ")
I don't understand what do you mean by (without ") Can someone clear this please |
[QUOTE]Originally posted by Remi
" $numbernav_atag$curpage$endpagetag " (without ") I don't understand what do you mean by (without ") Can someone clear this please |
Thanks :D
|
All times are GMT. The time now is 01:40 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:
|