• 0

[IPB] Editing IPB forums


Question

Hey there,

I have just started trying to edit an ipb forum. I manage to do the general look & feel bit ok with the CSS but however i have no idea how to edit the index page to add my own php code into the area where the calender, active users, etc.. as well as removing items like the calender.

Its just very confusing with all the hundreds of files.

Any advice appreciated, i am competent enough when it comes to the PHP side its just finding the items :p

Thanks,

David

Link to comment
https://www.neowin.net/forum/topic/650163-ipb-editing-ipb-forums/
Share on other sites

9 answers to this question

Recommended Posts

  • 0

I'm using the admin cp to edit all my files. But i have no idea how to edit the index files. Say like on Neowin here, how is it done?

Is it a completely seperate front pages but with just the login to the forums used? I'm all a little confused.

Garnett

  • 0

You'll need to create your own index page. Never edit the actual PHP files for a forum. The next update you do will probably wipe out any changes you made.

Most forum software has what are called a set of SSI (Server Side Include) functions. These functions allow you to get data or generate objects from the forum to insert into a page outside of the forum. For instance, they can be used to generate a login/user info box, latest posts, board stats, etc. Check the IPB docs for more info on these.

  • 0

Ok ive found the doc on that.

e.g. to get active users you do.

include("http://domain.com/forums/ssi.php?a=active");

But i get :

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /srv/www/domain/htdocs/forums-test/index-test.php on line 2

I cant find the setting to allow it either. Advice appreciated.

  • 0

DaveLegg has been helping me out, i have now figured out more or less everything, apart from the logout script.

When i set the member_id cookie to expire in the past it doesnt delete... Could anyone help me with that?

The code:

setcookie("ipb-testmember_id", "", time()-3600);

When i set the cookie to the future and a new value its fine, it just won't delete.

Any help is appreciated.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You are clueless. The updates are done in the background so the next time you open Edge the updates are applied automatically. There is no need to close all your tabs. Just keep browsing like you normally do. Clearly you don't use Edge and are just one of those haters that complain for the sake of complaining.
    • I don't get this David. Can you explain it please.  
    • Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well. Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident. Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed. New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives. ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability. New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software. A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers. There is a tone more but too numerous to mention.
    • Now disable that stupid OneDrive backup request when Windows starts please. So unbelievably frustrating to only have “remind me later” instead of “no and never ask me again”
    • Hello, The Media Creation Tool is still at v10.0.26100.7019 from October 2025. Just looks like the backend has been updated. Regards, Aryeh Goretsky
  • Recent Achievements

    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
    • One Year In
      Markus94287 earned a badge
      One Year In
    • Dedicated
      truespursfan earned a badge
      Dedicated
    • Rookie
      restore went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      169
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!