Announcement

Collapse
No announcement yet.

[Release v2] Stars v0.2.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug report (documentation)

    PHP Code:
    Step 2 of 2 find

    ....  
    PHP code

    Just under that add

    Should be

    Replace with

    If you add under, new users will be added to user table in duplicates.
    vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

    Comment


    • Here's an add-on to this hack...Show starlevel on Announcements...

      Hey Tubedog... very nice hack! I installed this a few weeks ago and everything went off without a hitch!

      Here's something you may want to update in your stars hack distribution...Show stars on announcements page. I'm using v2.0.3 but should work on v2.0.x

      Open announcement.php (NOT admin/announcement.php)

      find:
      PHP Code:
        if ($post[receivepm]) {
             eval(
      "\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
        } else {
             
      $post[pmlink] = "";
        } 
      Below it add:
      PHP Code:
        $sli 0;
        while (
      $sli $post[starlevel]) {
          
      $post[stars] .= "<img src=\"images/stars/$post[starimg].gif\" border=\"0\">";
          ++
      $sli;
        } 

      In announcebit template add $post[stars] where you want the stars to appear.


      That's it! Now the stars of those who put up announcements will show under their usertitle when viewing the announcement.
      ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤
      AJ
      AJ's VPinMAME Table Downloads
      Visual Pinball Forums
      ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤

      Comment


      • Kevin,

        This is exactly what I mentioned just 2 posts above
        vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

        Comment


        • There was an error in the instructions supplied by Bane, as reported by tamarian.

          To fix it, download the attached file and follow the instructions in it. The first post in this thread has been updated with the correct instructions in the zip file.

          Comment


          • Kevin,

            I wonder what would be the best fix for those already registered? I simply deleted new users who registered and didn't post in the period before correcting it (2days). For those who did post, I asked them to try and post, and if they can't to let me know and I'll delete them so they can sign up again.

            Some get into difficulty loging in, possibly because they have to memberships with the same name, one as registered, and one as "awaiting".
            vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

            Comment


            • where is post bit template

              i dont know where post bit template is

              Comment


              • escalade I'll tell you if you enter your license information in your profile.

                Comment


                • Okay, I've waded through the first 8 or 9 pages and no one else asked, so I figure it's probably something really stupid.

                  But I will risk ridicule and embarrassment anyway.

                  On the new install, it says to find some code, which I'm not going to post here, but the fact of the matter is, my admin/functions.php file doesn't contain the code I'm supposed to be looking for.

                  I very much doubted the code could just be inserted in anywhere, so I tried to go on. But there's no link to the next page! I manually entered http://***/admin/install_starshack.php?s=&step=5, and it went on, but in this case, my control panel says "Fatal error: Call to undefined function: maketableheader() in /web/sites/342/asheri/www.asheri.f2s.com/forums/admin/install_starshack.php on line 394" where the stars controls should be.

                  So am I a retard, or am I missing something?

                  Comment


                  • Kevin,

                    Another bug in the docs:

                    Changes to
                    admin/usergroup.php (4)

                    Step 4 of 4 find:

                    Should be:

                    replace

                    I haven't checked if they're all like that, I just check files when the sh*t hits the fan.
                    vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

                    Comment


                    • Tube your hack makes it so when someone registers it adds them once now, but thep roblem is now they get an error after they register.

                      There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

                      An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

                      We apologise for any inconvenience.

                      And i get an email. Did you update fix banes hack from adding 2 of a new member to our database? If so, it works but now after they register at my board it sends them to an error. A fix would be great ASAP. thanks.
                      http://www.tchracing.com/forums/live...h_live_sig.jpg

                      Comment


                      • LuBi, read the posts from 8-31 to fix it.

                        This will only fix it for future users. I had to delete my double users and email them to register again.
                        vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

                        Comment


                        • Add this above what tube says to replace the other text with.

                          PHP Code:
                            $userid=$DB_site->insert_id(); 
                          http://www.tchracing.com/forums/live...h_live_sig.jpg

                          Comment


                          • It's not working for me, it will add the user but will give them an error.
                            http://www.tchracing.com/forums/live...h_live_sig.jpg

                            Comment


                            • what does this mean

                              Parse error: parse error in /home/webmafia/public_html/demo/admin/usergroup.php on line 90


                              What do I need to fix

                              Comment


                              • Read my post, just 4-5 posts back. This should fix this problem. Read a bit further up, to fix another problem that is a bit "hidden". i.e. no errors, but new users will have trouble.
                                vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X