Jump to content
  • Sign Up

Lock Down

Rising Star
  • Posts

    1,035
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by Lock Down

  1. What is shown in the file data for package? Do a test with 1 package then do another test with 2 package purchase and see what is in that array. My guess would be 2 items in that array.
  2. Since IPS never tells you anything , you have to use display techniques to get the information it passes. So for information purposes add tis to the code and it will create a file with the input data. Something like this $file = fopen("/cache/IP_Nexus.cgi","a"); fputs($file,"n Member n".print_r($member,true)."n"); fputs($file,"n Package n".print_r($package,true)."n"); fputs($file,"n Invoice n".print_r($invoice,true)."n"); fclose($file); This assumes the forum is in the root (public_html) folder. If in a folder called forum then this "/cache/IP_Nexus.cgi" should be "/forum/cache/IP_Nexus.cgi"
  3. You are welcome and it looks like soft deleted is -1 in approved field. <php>$openTopics = ipsRegistry::DB()->buildAndFetch( array( 'select' => 'count(*) as count','from' => 'topics','where' => "forum_id=3 and state='open' and approved is > -1"));</php>
  4. It will take a single space for title. By the way the new link needs a login.
  5. ok here is the code for template . If in php program use without the , php> && < /php> <php>$openTopics = ipsRegistry::DB()->buildAndFetch( array( 'select' => 'count(*) as count','from' => 'topics','where' => "forum_id=3 and state='open'"));</php> to display in template ( of course use any layout you like) ********************************* {$openTopics['count']} topics in forum 3. ********************************************
  6. I will guess and say in the admin panel under member groups , choose the group and change these settings Remove the title name and add the image name like in the example. ie: public/style_extra/team_icons/admin.gif
  7. Use this instead: <if test="IPSMember::isInGroup( $this->memberData, array(4,15,16) )">
  8. You have to use blocks and not articles. ANd choose HTML Submit raw HTML and javascript.
  9. have you checked in the admin panel for the member id settings Members > Manage Members > Viewing Member Member Community Preferences Show Personal Message Popup YesNo That is a personal preference for each member if they want to receive popups.
  10. Has nothing to do with secondary groups.... Where are you putting the code? Articles? Pages or what? Does it show the html code? Does it show output every time? Do you have a link for that page we can see?
  11. a search would have found this: http://webflake.sx/topic/2946-how-to-add-new-tab-in-navigation-bar/ Just use any url of your choice.
  12. As I said the first time it should work as written...... Try content for testing like this <h1> Showing for special groups</h1> Use acp -> manage member groups and the id # is on the right side of the group name.
  13. all I can suggest is revert the templates that you changed back to original. Keep a copy of changed template before reerting it in case you want it back to it's altered state.
  14. That would only work if the member is logged in. But should work for members logged in as groups 5,14 & 8.
  15. They are there under template tools. Sent you the link.
  16. Looks like you added a bad hook/app. What ever new hook/app you installed or enabled is causing it. Disable them until you find the bad one testing after each disable. Warning: Invalid argument supplied for foreach() in /home/******/public_html/admin/sources/classes/class_public_permissions.php on line 436
  17. Did you set up a merchant account at paypal and give it a return address for completed transactiuons?
  18. Then you can edit the initdata.php using ftp in your forum folder. change this error_reporting( E_STRICT | E_ERROR | E_WARNING | E_PARSE | E_RECOVERABLE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_USER_WARNING ); to this error_reporting( E_STRICT | E_ERROR | E_PARSE | E_RECOVERABLE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_USER_WARNING );
  19. This is what I get when I click your lik This webpage has a redirect loop The webpage at http://www.part.lt/i/hotlink.png has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
  20. in the admin panel System Settings > Advanced > CPU Saving & Optimization Saving SQL Resources Make it yes not no.
  21. Did you copy all the files from the root folder to the forum folder?
×
×
  • Create New...