676

(2 replies, posted in PunBB 1.3 troubleshooting)

  • Create a new folder "pun_pm";

  • Upload the archive with pun_pm again;

  • Copy all files from the archive to the "pun_pm" folder.

The pun_approval extension implements the functionality you need. But it is under development at the moment.

This post should help you

n4is3n wrote:

Sorry, i mean how to change default style (oxygen) to each others?

Go to <FORUM_URL>/admin/settings.php?section=setup, there is an option "Default style", wherewith you can change the default style for a user.

n4is3n wrote:

How to add stars rank, under username?

It can be done via an extension, there is no special option for this.
You can add or edit a new rank on the <FORUM_URL>/admin/ranks.php page.

n4is3n wrote:

and my last question, how to change to FCKeditor for my default post reply form?

Examine and edit the code of post.php to include the editor panel. If you have some questions about the forum's code, we will help you.

At the line 24 there is no code, it is only a comment. Have you changed any code in the forum's core?

fantasma wrote:

Yes ok but the style must change in automatic when mobile browser is detected, it's possible?

Yes, it is. It can be done via "HTTP_USER_AGENT" key of $_SERVER array.

682

(16 replies, posted in PunBB 1.3 additions)

dilavis wrote:

Спасибо за новый стиль! Цвета, конечно, еще нужно дорабатывать, шрифт кое где поменьше, например, в подвале. Мне очень нравится. Есть два моих пожелания: исключить элементов на 100% ширины (все элементы одной ширины) и другие иконки у разделов, совсем другие, это не на что не годятся, для меня. Хорошие иконки - 50% дизи. wink

Еще раз спасибо за вашу работу! (Постепенно все равно нужно выносить основные переменные в шаблоны, удобнее шабов, че у дле не видел.)

Еще мне вот этот стиль очень понравился: http://punbb.informer.com/trac/attachme … /web20.png
(Только текст и цвет разделов поменьше, да и формы для поиска убрать). smile

Post deleted. Write in English please

Processing dependencies in selected extensions was improved. It is the main change to the previous release.

New version 1.4 of pun_admin_manage_extensions_improved has been released. It is available at the extension page, SVN or you can use pun_repository to get it.

YonasH wrote:

* to create a link to reinstall;
* to create a link to reinstall only hooks.

what is the difference? And who should add this link? Extension developer? Or it's added to all extensions after installing this one?
(I can't check it right now, so I giving basic questions)

If you reinstall only hooks, only extension's hooks will be refreshed, while the code of install or uninstall hooks will not be evaluated. Links added by "pun_admin_manage_extensions_improved".

This method will work correctly for all pages, except for post.php. For this page, comment lines 163, 164  to skip CSRF checking.

Try to disable extensions one by one and look when this error disappears.

mujahidat wrote:

IMPORTANT! The extensions listed below were found in the extensions folder but are not available for install or upgrade because the errors displayed below were detected.
Loading of extension "style_switcher" failed.

Missing manifest.xml.

It is seems that extension "style_switcher"  is damaged. Try uploading it again.

If I request the search.html page, your forum tries to display some search results. Did you modify the code of your forum? Have you any extensions installed, which can affect the search page?

punany wrote:

But for some reason all the graphics are gone.

Do you mean styles of forum?

690

(35 replies, posted in PunBB 1.3 additions)

SuperMAG wrote:

damn, tried both functions but ended up getting this error

Warning: require() [function.require]: URL file-access is disabled in the server configuration in /home/supermag/public_html/sitetools/pages/login.php on line 5

What file have you tried to include?

What extensions have you got installed?

charless wrote:

Regarding your suggested fix, if I update the software will I have to redo this fix each time?

Yes, you should. That is why creating an extension based on this code will be more convenient for you.

charless wrote:

Would this change also make "Subscribe to this topic" true and allow users to uncheck this option if they do not want to subscribe?

Yes, it would. You can set the default value of the "auto_notify" column in the "users" table to 1. Or set it when a user is registered, examine the function "add_user" of "<FORUM_ROOT>/include/functions.php" (lines 1658-1709)

n4is3n wrote:

How to change style

Go to "<FORUM_ROOT>/profile.php?section=settings&id=<user_id>"

n4is3n wrote:

add stars rank?

More details, please

694

(2 replies, posted in Discussions)

All javascript code is in js files, and these files are loaded in header of the page.

frozen.fish wrote:

I want to give my announcement box a rounded shape with jquery.

The best way to do this, I think, is to create a JS function, which will modify the announcement box upon page loading. Examine the code of "<FORUM_ROOT>/include/js/common.js", you will find there an example of attaching an event on page loading.

695

(5 replies, posted in Programming)

klertiv wrote:

Я только недавно нашел нормальный учебник по С++, а так постоянно мучался.

---------------------------------------------
люблю смотреть сериал Ранетки  (прямо онлайн)

Post deleted. Write in English please

You can add a new user to the DB of the forum directly, when the user registers at your site. Examine the code of "<FORUM_ROOT>/register.php" (lines 80-256).

Have you got gd library for PHP installed at your server?

698

(2 replies, posted in PunBB 1.3 bug reports)

Thanks for reporting, we will investigate this problem.

699

(7 replies, posted in PunBB 1.3 troubleshooting)

"FORUM_ADMIN" is the id of administrator's group.

Have you got any mods installed?