![]() |
|
#1
|
|||
|
|||
|
This requires a small file edit and will simulate vBalink as a forum, displaying latest link in forumhome
Replace /showcase/ with your links directory foldername
__________________
Real useful and Cool vBulletin addons Last edited by Lionel; 06-01-2008 at 01:38 AM. |
|
#2
|
|||
|
|||
|
Nice work, thank you Lionel.
|
|
#3
|
|||
|
|||
|
Thank you Lionel. I have not tried it yet (as I have to solve another problem first). But I definately like the idea. One question: Could it be possible to take a new link from a specific link category to a specific forum category (instead of all link categories to forum home) ? So instead of a parrot link goes to forum home it goes to the parrot forum.
You could extend this idea even further - so every link would has its own link in its own forum category. This would incorporate the vbalinks even tighter to the forum. Just an idea...
|
|
#4
|
|||
|
|||
|
Sure it's possible. You create as many forums as you want and link them to the category. Then you add a WHERE categoryid clause for each query.
But why would you do that? Would be simpler to do one forum and link it to your main links folder where you have all info already the way you want it.
__________________
Real useful and Cool vBulletin addons |
|
#5
|
||||
|
||||
|
Thank you! Just what I was looking for.
How can I get it to show the amount of posts in the link directory? It only shows threads. Thanks Again
__________________
Free Website and Forum Promotion |
|
#6
|
|||
|
|||
|
Do you have any posts for the last link in there? They should display
$forum['replycount'] = $link['posts'];
__________________
Real useful and Cool vBulletin addons |
|
#7
|
||||
|
||||
|
the latest link has no posts but the link directory it self does in other links
__________________
Free Website and Forum Promotion |
|
#8
|
|||
|
|||
|
It display last post info for the last link only. To get for entire directory you would need to add another query to get it
__________________
Real useful and Cool vBulletin addons |
|
#9
|
||||
|
||||
|
what is the code I would need to add to get the total amount of posts for the link directory.
Thank you for your time!
__________________
Free Website and Forum Promotion |
|
#10
|
|||
|
|||
|
On top of my head (not tested)
Quote:
Quote:
__________________
Real useful and Cool vBulletin addons |
|
#11
|
||||
|
||||
|
I tried it with this code and it worked
I just added the code you gave me without replacing any. So far no problems that I can find. Code:
$tot = $db->query_first("SELECT COUNT(*) as count FROM " . TABLE_PREFIX . "adv_links");
$totpost = $db->query_first("SELECT SUM(posts) as totpost FROM " . TABLE_PREFIX . "adv_links");
Code:
$forum['threadcount'] = $tot['count']; $forum['replycount'] = $totpost['totpost'];
__________________
Free Website and Forum Promotion |
|
#12
|
|||
|
|||
|
Cool. You could also fine tune the date by adding the extra css to the span. I think it's class="time" . This way the font will be the same size with the rest of your dates, and make the link title "smallfont" as it appears to be "smallfont" in your forumhome
__________________
Real useful and Cool vBulletin addons Last edited by Lionel; 06-02-2008 at 01:55 AM. |
|
#13
|
||||
|
||||
|
Changed the fonts like you said and looks perfect just like the rest of the forum. Thank you for all the help!
![]() Here is the link to my site with this great mod in action Demo
__________________
Free Website and Forum Promotion Last edited by Parabellum; 06-02-2008 at 03:00 AM. |
|
#14
|
|||
|
|||
|
Post the link to your site for those who would want to see it, but are too lazy to click on your name or will not see it on the page or would not know to look in forums :-)
__________________
Real useful and Cool vBulletin addons |
|
#15
|
|||
|
|||
|
I cannot get this working
![]() And its a great little hack. we have links directory in our domain root. forum is under /forum Have done the changes, PHP Code:
Dont work.... Any suggestions? Ozzy |
|
#16
|
|||
|
|||
|
Did you link the forum? What happens when you click on it?
__________________
Real useful and Cool vBulletin addons |
|
#17
|
|||
|
|||
|
Well,, I was presuming this hack... actually posts new links into the forum thread, on forum home page.
So in the code you gave, we have replaced xx with the forum id. Am i missing something really obvious? |
|
#18
|
|||
|
|||
|
Here is what we have.
in ourwebsite.com/links we have a category child called links. we have changed includes/functions_forumlist.php to.. PHP Code:
So where are we going wrong? When somone posts a link, in the vbalinks it doesnt appear on forum/links thread as this hack would suggest. Im sure we have got paths correct. Ozzy |
|
#19
|
|||
|
|||
|
Just re-read simple instructions.
__________________
Real useful and Cool vBulletin addons |
|
#20
|
|||
|
|||
|
Actually no they werent lol, well to me anyway.
Have just got this working ^5 to you. Just so other eegits like me dont make the same mistake. In forum manager, create a new forum, and then link that forum, back to your VBALINKS Give it absolute url. Sorted at last, great hack. NEXT !
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fake stats help | daddy20 | Modifications (version 3.x & 2.x) | 6 | 01-12-2007 10:32 PM |
| VBaLinks 2.0? | interfx | Pre-Sale Questions | 117 | 10-02-2006 12:37 PM |
| Fake item in navigation. | DonLKSAB | "How Do I..." Questions | 3 | 08-16-2006 09:48 AM |
| VBaLinks 1.01 | interfx | Pre-Sale Questions | 15 | 07-29-2005 12:23 AM |
| vBaLinks Power | Polo | Pre-Sale Questions | 3 | 12-15-2004 07:53 PM |