Daily Lucky Numbers:
7
9
14
34
40
47

Recent posts

#1
EhPortal Support / Re: Is there a Turkish languag...
Last post by Chen Zhen - November 27, 2022, 11:31:42 PM
There are no Turkish language packs for the latest version of EhPortal.
#2
EhPortal Support / Re: Re-Enable hooks
Last post by Chen Zhen - November 27, 2022, 11:30:23 PM

You can also delete all EhPortal packages from your package manager.
Download the attachment, install it & then uninstall it via your package manager.
Clear your error log.

Afterward you can delete that package then download EhPortal anew & install it.
 
#3
EhPortal Support / Re: Re-Enable hooks
Last post by Chen Zhen - November 27, 2022, 11:19:04 PM
The latest repair_settings tool should allow you to remove the EhPortal hooks.
When you load the settings tool just look to your bottom right for the button to do that.
#4
EhPortal Support / Is there a Turkish language pa...
Last post by serdo - November 27, 2022, 05:23:45 AM
Is there a Turkish language pack?
#5
EhPortal Support / Re-Enable hooks
Last post by ChrisCross - November 26, 2022, 11:49:32 AM
Hi!

I have moved my forums to another domain, and when I try to fix the paths in repair_settings.php i have accidentaly pressed the "Disable All Hooks" button.

Now the site turns "HTTP ERROR 500" and the log says:

[Sat Nov 26 17:23:22.385300 2022] [:error] [pid 21296] [client xx] PHP Fatal error:  Uncaught Error: Call to undefined function sportal_init() in
/var/www/html/forum/Sources/PortalHooks.php:795\nStack trace:\n#0
/var/www/html/forum/Sources/Subs.php(5830): sportal_initialize(Array)\n#1
/var/www/html/forum/index.php(264): call_integration_hook('integrate_pre_l...', Array)\n#2
/var/www/html/forum/index.php(191): smf_main()\n#3 {main}\n
thrown in /var/www/html/forum/Sources/PortalHooks.php on line 795, referer: https://xxx


I have installed EhPortal plugin.

What should I do? Thanks!


Fix_Packages.php:
#6
EhPortal Support / Re: Forum clone in the bbc blo...
Last post by dvdweed - November 18, 2022, 04:05:35 AM
hello,

Thanks for your answer !!!!

But the bug was comming from a bad configuration off another block !

So problem solved :)

#7
EhPortal Support / Re: Forum clone in the bbc blo...
Last post by Chen Zhen - November 17, 2022, 09:03:57 PM
I'm not quite sure where your php file is located but you shouldn't be defining an existing php function.

Assuming the file is in your main forum directory, just use this in your PHP page code:
global $boarddir;
require_once($boarddir . '/test.php');
#8
EhPortal Support / Forum clone in the bbc block.
Last post by dvdweed - November 17, 2022, 03:35:31 AM
Hello,

I'm sorry for my english but it's not my mother language .....

I have a problem whith a bbc block , when i want put inside a link sp page php

exemple :
Quote[*url="https://exemple/index.php?page=test"][*size=2][*color=white]title[/color][/size][/url](page test is a page php)

I get window (<-- clone of my forum )in a window (<-- bbc block )

In my page php , i put only
Quote<?php
define('include',NULL);
include('test.php');?>

PS : I have already change "&#39;" to "&#039;" in the bdd ....

Somebody have a idea for this bug ?

For info : EhPortal 1.39 © 2022, WebDev
SMF 2.1.2 © 2022, Simple Machines

I shearch through the net but i don't get a solution for my problem

thanks for your help

Dvdweed
#9
Releases & Version Updates / Re: SMF Banner Bar
Last post by Chen Zhen - October 16, 2022, 07:18:47 PM
It was likely because of the improper regex I used to filter the input which removed it when saved.
This should work fine now for version 1.5+.
#10
Releases & Version Updates / Re: SMF Banner Bar
Last post by Dave - October 16, 2022, 06:33:30 PM
Thanks Chen.

I tried all manner of variations on that including adding the hyphen, that was after I went to w3schools to see what I should put in.