vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 03-17-2005, 08:54 AM
disco4me disco4me is offline
Senior Member
 
Join Date: Feb 2005
Posts: 154
Default List of forum names in module?

How do I get a list of just the forum names along with links to those forum names to appear in a module?
  #2  
Old 03-17-2005, 11:00 AM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: List of forum names in module?

Disco4Me,

A new module could be written to do a PHP query to extract the list of names but.... I wouldn't do it. I had recently given though of doing something similar with vBa Links and vBa Gallery but decided in the end it'd be better to just do a static HTML template with the links besides adding a dynamic PHP module would add another query to the front page. Considering that most forums don't change names once they've been created the benefit of doing the list dynamically is outweighed by adding the extra query.

Kevin
  #3  
Old 03-17-2005, 11:17 AM
disco4me disco4me is offline
Senior Member
 
Join Date: Feb 2005
Posts: 154
Default Re: List of forum names in module?

KW802,

I checked out your coolscifi site, nice job! Can I ask how you did the "Navigation" module? It would be nice to have that and then add what I was talking about above for a listing of the forum names that people could click directly into.

Also, how did you do your "Quote of the Moment" module. Is that something that's fairly automated?

I've got to ask why you have ibproarcade (running on invision I assume) when you have a vbulletin site. Are the user registrations seperate for your regular forum and the arcade because of the different boards?

Thanks

Last edited by disco4me; 03-17-2005 at 11:22 AM.
  #4  
Old 03-17-2005, 12:50 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: List of forum names in module?

Disco4Me,

Thanks for the compliments. Cool SciFi is my 'hobby-that-keeps-me-out-of-trouble' site. I'll try to go over some of the items....

- Navigation Module: It's a slightly modified version of a navigation module that somebody released here at vBa. It's just a a static HTML template that has a few extra tags in it; for example, I alternate the colors when somebody hovers over the link, etcetra. If you'd like I can post the code here and you would just have to change the links to what you'd like instead.

- The Quote of the Moment is based upon a hack over at VB.org. [Hack: http://www.vbulletin.org/forum/showthread.php?t=62470 ]

- The guys who did ibProArcade released a version that 'wraps' the Invision code inside of vBulletin so the same arcade system can be released on either Invision or vBulletin. [Hack: http://www.vbulletin.org/forum/showthread.php?t=70903 ]

Kevin
  #5  
Old 03-17-2005, 01:15 PM
disco4me disco4me is offline
Senior Member
 
Join Date: Feb 2005
Posts: 154
Default Re: List of forum names in module?

Kevin,

Thanks. Yes, if you'd like to post the navigation module, I think I'd be interested in using it.

Thanks
J
  #6  
Old 03-17-2005, 01:33 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: List of forum names in module?

Here's the exact template for my navigation module; the graphics will be automatically picked up from your own style, please don't use the ones from my site.

- Create a new template named "adv_portal_navigation" (ACP --> Styles & Templates --> Style Manager --> {select your parent style} Add New Template):
PHP Code:
<!-- Navigation Block -->
<
table align="center" border="0" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder" width="100%">
<
tr>
<
td class="tcat"><strong><span class="smallfont">$vba_options[portal_blockbullet$mods[title]</span></strong></td>
</
tr>
<
tr>
<
td class="alt1">
    <!-- 
Home -->
    <
table border="0" cellpadding="0" cellspacing="0" width="100%">
    <
tr><td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <b>Our Community</b></td></tr>
    <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[homeurl]title="Go to the front page">Home</a></td></tr>
    <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]">Forums</a></td></tr>
    <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=smilie_creator" title="Create your own smilies!">Smilie Creator</a></td></tr>
    <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href=$vboptions[bburl]/arcade.php" title="Claim your trophy today and be the champion!">Arcade</a></td></tr>
    <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[contactuslink]title="Contact our staff">$vbphrase[contact_us]</a></td></tr>
    </
table>
 
    <!-- 
Media Gallery -->
    <
hr size="1"/>
    <
table border="0" cellpadding="0" cellspacing="0" width="100%">
     <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <a href="$vboptions[homeurl]/gallery/index.php?$session[sessionurl]title="The $bbtitle Media Gallery! Download clipart, video clips, wallpapers, sounnd clips, and anything else we can find!"><b>Media Gallery</b></a></td></tr>
    </
table>
 
    <!-- 
Links Library -->
    <
hr size="1"/>
    <
table border="0" cellpadding="0" cellspacing="0" width="100%">
     <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <a href="$vboptions[homeurl]/links/index.php?$session[sessionurl]title="Places on the web to check out! You can also add you own favorites links."><b>Links Library</b></a></td></tr>
    </
table>
    <!-- 
Downloads -->
    <
hr size="1"/>
    <
table border="0" cellpadding="0" cellspacing="0" width="100%">
    <
tr><td><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt=""/> <strong>Downloads</strong></td></tr>
     <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=screensavers">Screen Savers</a></td></tr>
     <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=sounds_songs">Sound Clips</a></td></tr>
     <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=sounds_themes">Theme Songs</a></td></tr>
     <
tr onmouseover="this.className='alt2'" onmouseout="this.className='alt1'"><td><img src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt=""/> <a href="$vboptions[homeurl]/index.php?page=themes_winamp_2x">WinAmp Skins</a></td></tr>
    </
table>
</
td></tr>
</
table>
<
br />
<!-- 
End Navigation Block --> 
- Replace the links to your own listings. Don't forget to replace the 'title' tags as well; those are the descriptions that show in the bubble box when hovering over the link.

- Create a new module in CMPS (ACP --> vBa CMPS --> Add Module):
  • Module Title (this will show up in the module on your front page as the name of the box) = Navigation
  • Or Template to include = navigation
  • Active = Yes
  • Column = Left Column
  • Display Order = 0
... and that should do it.
  #7  
Old 03-17-2005, 01:38 PM
disco4me disco4me is offline
Senior Member
 
Join Date: Feb 2005
Posts: 154
Default Re: List of forum names in module?

Excellent. Thank you so much. This should be a nice addition. And the quotes looks easy to install.

J
  #8  
Old 03-17-2005, 01:46 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: List of forum names in module?

No problem. If you want to use the quotes only on your CMPS page and not in the forums then be sure to check here.
  #9  
Old 03-17-2005, 03:32 PM
Alderwazeh's Avatar
Alderwazeh Alderwazeh is offline
alderwazeh.com..CMPS fan
 
Join Date: Jan 2005
Posts: 125
Default Re: List of forum names in module?

For standard links module look this url:
http://www.vbadvanced.com/forum/showthread.php?t=6387

By the way can we use your style Kevin ?
It is realy one of the best and beutiful styles I have ever seen .. could you lend this style (xml ?) please
sorry for the link .. I was editing Kevin to ask you that

Last edited by Alderwazeh; 03-17-2005 at 03:44 PM.
  #10  
Old 03-17-2005, 03:39 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: List of forum names in module?

Quote:
Originally Posted by Alderwazeh
  #11  
Old 03-17-2005, 03:58 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: List of forum names in module?

Quote:
Originally Posted by Alderwazeh
By the way can we use your style Kevin ?
It is realy one of the best and beutiful styles I have ever seen .. could you lend this style (xml ?) please
sorry for the link .. I was editing Kevin to ask you that
No, the Cool SciFi style is a custom job that that I had paid for and is exclusive to that site only.
  #12  
Old 03-17-2005, 04:14 PM
Alderwazeh's Avatar
Alderwazeh Alderwazeh is offline
alderwazeh.com..CMPS fan
 
Join Date: Jan 2005
Posts: 125
Default Re: List of forum names in module?

Thanks
  #13  
Old 05-04-2005, 06:06 PM
Vevina Vevina is offline
Junior Member
 
Join Date: Dec 2004
Posts: 23
Default Re: List of forum names in module?

Installed the Random Quote Module ThankYou
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List of table names for vBCMPS memobug Troubleshooting / "How do I..." Questions 1 10-05-2004 02:25 PM
Forum List Module? akmartin Add-On Modules & Modifications 2 09-21-2004 10:10 PM
How do I get a list of latest threads in a specified forum? ComiX-Fan Troubleshooting / "How do I..." Questions 7 09-11-2004 05:24 PM
How changing either the sub-forum names or the 'new links' page? KW802 Site Feedback & Updates 2 09-01-2004 06:30 PM
Changed Module Names iKwak Troubleshooting / "How do I..." Questions 1 06-09-2004 02:03 PM


All times are GMT -4. The time now is 03:24 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.