New Webid Banner System 1.2

This new banner system allows users to add there own banners from there user control panel

  1. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,573
    Likes Received:
    549
    You do it in PhpMyAdmin on your server from your hosting provider.

    Log into your hosting CP it should be cPanel usualy, scroll down and find and click on PhpMyAdmin, when it opens select your WeBid database then follow the above steps
     
  2. TheWebFanatik

    TheWebFanatik Member

    Joined:
    Oct 30, 2009
    Messages:
    39
    Likes Received:
    2
    Thanks nay, i know how to do all that but when I click on the sql tab it brings up this:

    Run SQL query/queries on database jcg1959_testsite

    there is no where to add any information as Jason mentioned..

    sql page.jpg
     
  3. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,573
    Likes Received:
    549
    you put the information in that big white box in that picture, copy each one from the above instructions and past them in that white box on that page in the picture, then click the GO button on that page in the picture
     
    Last edited: Jan 5, 2014
    TheWebFanatik likes this.
  4. TheWebFanatik

    TheWebFanatik Member

    Joined:
    Oct 30, 2009
    Messages:
    39
    Likes Received:
    2
    Thanks nay, I got it :) I got everything added to the other files up to "open includes functions_fees.php" there is no such file in the includes folder in version 1.1.1 Any suggestions?
     
  5. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,573
    Likes Received:
    549
    I think it has been renamed to class_fees.php from 1.1.0 up so its includes/class_fees.php
     
    TheWebFanatik likes this.
  6. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    dose your sql table name start with webid_ if so that code should work. If you are using a different sql table name than change the webid_ to what you used.

    example: mytable_fees

    And in the functions_fees.php i think it was changed if you are using 1.1.1 so you may have to find a way to add the codes to it.
     
    Last edited: Jan 5, 2014
    TheWebFanatik likes this.
  7. TheWebFanatik

    TheWebFanatik Member

    Joined:
    Oct 30, 2009
    Messages:
    39
    Likes Received:
    2
    Thanks nay!

    It's still webid Jason, I'm trying it on my test site first. Thanks for the info about changing the tables. ;-)
     
  8. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    After thinking about it all most all the codes should work in till you hit the functions_fees.php page and for the codes in that i don't know how to add them to the new v.1.1.1
     
  9. TheWebFanatik

    TheWebFanatik Member

    Joined:
    Oct 30, 2009
    Messages:
    39
    Likes Received:
    2
    Ok, thanks Jason.
     
  10. fumanchu

    fumanchu New Member

    Joined:
    Apr 22, 2014
    Messages:
    17
    Likes Received:
    2
    Hi Fanatik.
    Have you managed to get this sorted for 1.1.1 yet? I'd like to try it if so.

    Fu
     
  11. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    it may work in v1.1.1 but may need some editing
     
  12. fumanchu

    fumanchu New Member

    Joined:
    Apr 22, 2014
    Messages:
    17
    Likes Received:
    2
    Hi Jason,
    Something's screwy somewhere. I get this (see pic) and when I click it, it goes to the correct file but displays a blank screen and done. No error msgs.

    Fu

    capture3.JPG
     
  13. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    it is not loading the tpl page there should of be a folder in themes > your theme > banner > and there should be like 5 tpl pages in the banner folder

    missing the tpl page
     
  14. fumanchu

    fumanchu New Member

    Joined:
    Apr 22, 2014
    Messages:
    17
    Likes Received:
    2
    Yes I moved those to the proper location you said. Your .zip unzipped them into a folder called 'default'.
    But the link is still showing wrong (see previous pic), and now the link when pressed shows a 500 error in the browser.
    I think I'll pull it all out again and go bact to what I had (1.1.1) until we can figure it out successfully. Unless you have a better suggestion?
     
  15. TheWebFanatik

    TheWebFanatik Member

    Joined:
    Oct 30, 2009
    Messages:
    39
    Likes Received:
    2
    No- I haven't... Sorry Fu
     
  16. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,573
    Likes Received:
    549
    The language problem on your picture seems to look like there is a space after the first { and one before the last } try closing the spaces in your tpl so the language string looks like this {L_30_0125} and not like this { L_30_0125 } that could be why it is not displaying the text but is just displaying the language string
     
  17. fumanchu

    fumanchu New Member

    Joined:
    Apr 22, 2014
    Messages:
    17
    Likes Received:
    2
    It's not a spaces issue. Tested it with a dummy entry. Displayed fine.
    Problem is, there's NO corresponding {L_30_0125}, or {L_30_0215} either, in the language msgs.
    So what line entry is supposed to be in the messages.inc.php?
    secondly, is it 215 or 125 in the user_menu.tpl file?
     
  18. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    change {L_30_0125} to {L_350_10121} and should work i think i added the wrong one
     
  19. fumanchu

    fumanchu New Member

    Joined:
    Apr 22, 2014
    Messages:
    17
    Likes Received:
    2
    Hi Jason,
    Yep that was it (see capture4). :)
    However when clicked, it just shows a blank page and "done". No error msgs.
    Maybe you need to explain the code flow, so I / we know which files & code need editing?
    I'll fix it if you point the way. Would be great to get this working for 1.1.1
    Thanks guys for the help so far.

    Fu

    capture4.JPG


    EDIT:
    Must be something to do with your fees edits cos now when I click fees in admin (when already logged in), it jumps to login box again.

    Fu
     
    Last edited: May 7, 2014
  20. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    62
    this was not made for v1.1.1 so you will have to change some of the coding and for the blank page is that you need to changed this codes in the .php pages

    include 'includes/common.inc.php';

    to this code

    include 'common.php';
     
    Last edited: May 7, 2014

Share This Page