Page 2 of 4 FirstFirst 1234 LastLast
Results 21 to 40 of 78

Thread: [module] Forum list

  1. #21
    Join Date
    Nov 2005
    Posts
    20

    Default Re: [module] Forum list

    Quote Originally Posted by Judge Ruckus
    Hey thanks man! That worked and is all good now.

    where might you find that code?

  2. #22

    Default Re: [module] Forum list

    Can someone please take a look at this and see how to not show sub-forums?

    Thank you.

  3. #23
    Join Date
    May 2005
    Location
    PhillyaDelphia
    Posts
    41

    Default Re: [module] Forum list

    Quote Originally Posted by hqtrung
    okie, i can see that problem.
    It's CSS problem because I was using a CSS list. It's display OK with Firefox. I will check it on IE.
    any solution to this problem it looks good on firefox but not ie

    take a peek of it:
    Nextel phone modding and other software programs at your service visit at: Puerto Technology Central



  4. #24
    Join Date
    Nov 2005
    Posts
    20

    Default Re: [module] Forum list

    Quote Originally Posted by puertoblack2003
    any solution to this problem it looks good on firefox but not ie

    take a peek of it:
    I have the same problem...

  5. #25
    Join Date
    Oct 2005
    Posts
    4

    Default Re: [module] Forum list

    Anyway to get rid of the BB 0 things infront of the forum title? I am using vb3.5.1 and vBadvanced CMPS v2.0.0

    sorry had to upload it in .zip because

    "The Dimension limits for this filetype are 620 x 280. We were unable to resize your file so you will need to do so manually and upload it again. Your file is currently 166 x 456."
    Last edited by CommunityZ; 11-25-2005 at 02:10 PM.

  6. #26
    Join Date
    Sep 2005
    Posts
    6

    Default Re: [module] Forum list

    I still can't get this to work - VB Admin just keeps saying "this file is not a valid module" - HELP!!

  7. #27
    Join Date
    Oct 2005
    Posts
    5

    Cool Re: [module] Forum list

    Is there any solution to the forums being off the list the farther they get down the page? Or can you trim them someway to get rid of the sub forums?

    Thanks

  8. #28
    Join Date
    Aug 2005
    Posts
    10

    Default Re: [module] Forum list

    Quote Originally Posted by grains
    Are you using VB 3.0.3? And if so, did you follow these directions specifically or was there something else that you did?
    Im using 3.5 and followed the directions exactly.

  9. #29
    Join Date
    Nov 2005
    Posts
    20

    Default Re: [module] Forum list

    Quote Originally Posted by puertoblack2003
    any solution to this problem it looks good on firefox but not ie

    take a peek of it:

    I'm having this problem in IE, anyone have a solution?

  10. #30
    Join Date
    Dec 2005
    Posts
    8

    Default Re: [module] Forum list

    Why can't I upload the forumlist_module for the 1st thread? Do I need to do something to the file 1st?

    Thanks,
    John

  11. #31
    Join Date
    Oct 2005
    Posts
    5

    Smile Re: [module] Forum list

    Quote Originally Posted by jfreundn
    Why can't I upload the forumlist_module for the 1st thread? Do I need to do something to the file 1st?

    Thanks,
    John
    I used vBa CMPS in the Admin and hit Download/Upload module and browse to the forumlist.module file on your computer, upload, then it should install.
    Last edited by blitzburgh; 12-03-2005 at 07:05 PM.

  12. #32
    Join Date
    Dec 2005
    Posts
    8

    Default Re: [module] Forum list

    I tried that, thats when I get the following error message:

    "The file you have uploaded is not a valid module file"

    John

  13. #33
    Join Date
    Oct 2005
    Posts
    11

    Default Re: [module] Forum list

    For those of you getting the "The file you have uploaded is not a valid module file" message when trying to upload this module, this is what I did to get it working:

    Step One: I created a plugin in the global_start hook with the following code from the module Huynh Quang Trung posted:

    Code:
    //++=========================================================================++
    // || Module: Forum list on portal for vBadvanced Portal 2.0
    // || Author: Huynh Quang Trung (hqtrung at gmail dot com)
    // || 
    // || http://vnsolutions.net
    // || 
    // || 
    // ++ ========================================================================++
    function construct_forum_list($parentid = -1, &$ret, $permission = '')
    {
        global $vbulletin;
        global $stylevar, $vbphrase, $defaultselected;
        if (!($vbulletin->userinfo['permissions']['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']))
        {
            return;
        }
        if (empty($vbulletin->iforumcache))
        {
            require_once(DIR . '/includes/functions_forumlist.php');
            cache_ordered_forums(1, 1);
        }
        if (empty($vbulletin->iforumcache["$parentid"]) OR !is_array($vbulletin->iforumcache["$parentid"]))
        {
            return;
        }
        $ret.= "<ul>\n";
        foreach($vbulletin->iforumcache["$parentid"] AS $forumid)
        {
            $forumperms = $vbulletin->userinfo['forumpermissions']["$forumid"];
            if ((!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) OR !($vbulletin->forumcache["$forumid"]['options'] & $vbulletin->bf_misc_forumoptions['showonforumjump']) OR !$vbulletin->forumcache["$forumid"]['displayorder'] OR !($vbulletin->forumcache["$forumid"]['options'] & $vbulletin->bf_misc_forumoptions['active']))
            {
                continue;
            }
            else
            {
                $forum = $vbulletin->forumcache["$forumid"];
                $ret.= "<li>\n";
                $ret.= "<a href='forumdisplay.php?f=$forumid'> $forum[title_clean]</a>\n";
                construct_forum_list($forumid, $ret, $forumperms);
                $ret.= "</li>\n";
            } // if can view
        } // end foreach ($vbulletin->iforumcache[$parentid] AS $forumid)
        $ret .= "</ul>\n";
        return $ret;
    }
    $adv_portal_forumlist = "";
    $adv_portal_forumlist = construct_forum_list(-1, $adv_portal_forumlist);
    Note that I made a few changes to correct some problems w/ the code. I added the missing </a> to close the href tag. I also removed the eval/fetch_template line and moved the <div> to the template (see next step).

    Step Two: I then created a custom template and inserted the following.
    Code:
    <tr>
    <td class="$bgclass">
    <!-- forum list -->
    <div id="moduleforumlist">$adv_portal_forumlist</div>
    <!-- / forum list -->
    </td>
    </tr>
    Step Three: I created a new template module including the template above.

    And that's it!

    Note: You'll notice I used some custom CSS in my template. You can add the following to 'Additional CSS Definitions' in Style Options or create your own changing the id in the div. My changes to the CSS haven't been tested and I'm not sure if li:before and content: work in IE but '\BB' is the CSS equivilant to &raquo; (used by vbadvanced). Anyway, the CSS is yours to play with
    Code:
    	#moduleforumlist ul {
    		list-style: none;
    		margin: 0;
    		padding:0;
    		padding-left: 1em;
    		text-indent: -1em;
    		}
    
    	#moduleforumlist li {
    		list-style-image: none;
    		list-style-type: none;
    		}
            #moduleforumlist li a:active, #moduleforumlist li a:visited, #moduleforumlist li a:link  {
                    text-decoration:none;
    		}
    	#moduleforumlist ul li:before {
    		content: "\BB";
    		}
    Last edited by led_belly; 12-06-2005 at 11:46 PM.

  14. #34
    Join Date
    Oct 2004
    Posts
    7

    Default Re: [module] Forum list

    anyone know how i can get this to NOT display the forum categories?

  15. #35
    Join Date
    Nov 2005
    Posts
    3

    Default Re: [module] Forum list

    this **** still don't work for me
    Last edited by mr_enix; 12-08-2005 at 10:13 PM.

  16. #36
    Join Date
    Jul 2005
    Posts
    17

    Default Re: [module] Forum list

    Quote Originally Posted by led_belly
    For those of you getting the "The file you have uploaded is not a valid module file" message when trying to upload this module, this is what I did to get it working:
    led_belly how did you call the template ?
    did you still use the file from this hack?

    ty

  17. #37
    Join Date
    Oct 2005
    Posts
    11

    Default Re: [module] Forum list

    I called the template in Step Three when I created a new (template-based) module...

    did you still use the file from this hack?
    The forumlist.module file? No. If you follow the instructions above you don't need it anymore.

  18. #38
    Join Date
    Oct 2005
    Posts
    5

    Thumbs up Re: [module] Forum list

    I Love it led_belly. Is there anyway to make the font smaller? Otherwise you did a great job. Here is a pic of my right forum sidebar top, I just need the font a little smaller. Thanks again!

  19. #39
    Join Date
    Aug 2004
    Posts
    22

    Default Re: [module] Forum list

    In IE... everything looks peachy.

    In Firefox however, I am getting the above mentioned

    BB[]0

    As a bullet to the forum list.

    Is anyone else experiencing this?

  20. #40
    Join Date
    Oct 2005
    Posts
    5

    Default Re: [module] Forum list

    Actually what I did after the last post was add the Step Three code to the Main Css to take away the text style, and it got rid of the bullets and I think it looks better, and not off the page anymore. Not sure how FireFox works.
    Last edited by blitzburgh; 12-10-2005 at 07:41 PM.

Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [REQ] Forum list block
    By hqtrung in forum Module & Modification Discussion & Requests
    Replies: 5
    Last Post: 11-11-2005, 02:33 PM
  2. how can i add my forum list ??
    By MP3 in forum Add-On Modules & Modifications
    Replies: 2
    Last Post: 05-19-2005, 07:02 AM
  3. List of forum names in module?
    By disco4me in forum Troubleshooting / "How do I..." Questions
    Replies: 12
    Last Post: 05-04-2005, 07:06 PM
  4. Forum List Module?
    By akmartin in forum Add-On Modules & Modifications
    Replies: 2
    Last Post: 09-21-2004, 11:10 PM
  5. How do I get a list of latest threads in a specified forum?
    By ComiX-Fan in forum Troubleshooting / "How do I..." Questions
    Replies: 7
    Last Post: 09-11-2004, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •