I'm here after 2 hours of searching. All I found were older versions solutions
here is my code so far
<?php
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
$app = XF::setupApp('XF\Pub\App');
echo "<pre>";
var_dump($app->session());
?>
The session contains the userId...
Hi everyone,
I'm new here so looking for some help and advice from the experts :)
I am trying to create a new blank page where i can add a google map with the normal default header and footer from the default layout if possible and i would add a menu to the links above pointing to the new...
So I have learned to create tables using the Setup.php file but have found nada on doing updates and inserts to said table.
$sm = \XF::db()->getSchemaManager();
$sm->createTable('xf_some_table', function(\XF\Db\Schema\Create $table)
{
$table->addColumn('some_id', 'int')->autoIncrement()...
I'm converting an addon from XF1 to XF2 with permission from the original owner.
What I'm wanting to know does this work in place of Xenforo_Application:
XF::Application
Thanks for any help and looking.
Add font awesome icons to menu and submenu drop downs.
More unicode font awesome codes can be found at Font Awesome Icon List (* Xenforo only Supports Font awesome 4)
When you click single icon it will have unicode under the icon shown.
You can add colour anytime using the CSS color...
XenNews Style
I have prepared a new theme for Xenforo 2 and offered free sharing as a new year gift to you dear members :)
The theme is a premium quality theme and has many unique features and features
Theme Properties
Unique greeting message area
Template-specific header scheme...
This add-on allows you to move to the next or previous thread in one click.
Replace "Next Previous" with the title of the threads thanks to a simple option.
Positions available
Top and Bottom
Top
Bottom
Options :
New option in 2.0.1
Top and bottom position :
Next Previous Title ...
This add-on will give the admin and moderators the ability to keep track with ease of all the warnings given in his/her forum from one place in the Forum Admin Panel. By doing this, administrators could catch up with their forum’s condition immediately.
You can searching the warning log by your...
Creating multiple nodes should be a default option. It's very time consuming to add a lot of categories or forums one at a time. I see no option as a standard feature in XF2 for creating multiple nodes. It is a very time consuming process!
XF1 did have an add-on for this, but this really should...
When dealing with anything say adding options to an option group or Widget location, any time there are 2 columns of locations, the second column spinbox works but you can't see the number.
I have discovered this is XF2 working with Chrome, I have disabled my extensions and the issue still...
This add-on allows you to see who read the threads, number of visitor members in the forums, and visitors / members who navigate in the threads.
Feature Summary
Multi options
Usergroup permission
Count reader each threads
Count viewers each threads
Count viewers each forums
Multi positions...
This add-on allows you to move to the next or previous resource in one click.
Replace "Next Previous" with the title of the resources thanks to a simple option.
Positions available
Top and Bottom
Top
Bottom
Options :
Resource Preview (New in 2.0.1)
New in 2.0.1:
Add new options...
So, having just upgraded to XF2, I was unable to drag and drop / paste an image into the editor (Attach files button worked).
Looking in the Chrome console, it was reporting that blob: was being blocked, as I wasn't allowing this in the CSP string
img-src 'self' blob: data:
Adding blob: into...
Holidays
Get Holidays for free by using the coupon code CELEBRATEMORE during checkout.
Celebrate holidays with your community in just a few clicks! Easily add effects and styling to your site with our pre-made holidays or create your own holidays.
Features:
Administrator Features
Set...
This add-on will romanize URL character for XF2.
Works everywhere (forums, threads, etc.), with minimal conflict.
For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/TurkishFriendlyLink/listener.php file.
Note: Testing...
UI.X 2 Dark
Get UI.X 2 Dark for free by using the coupon code DARKFANFAV during checkout.
Based off the tried-and-true methodologies of its XenForo 1 predecessor, UI.X continues to push the boundaries of intelligent design. With a basis in Google’s Material Design, the framework is backed by a...
UI.X 2
Get UI.X 2 for free by using the coupon code FANFAVTHEME during checkout.
Based off the tried-and-true methodologies of its XenForo 1 predecessor, UI.X continues to push the boundaries of intelligent design. With a basis in Google’s Material Design, the framework is backed by a team...