Recent content by shqawe

  1. shqawe

    XenForo Redirects for vBulletin

    Unfortunately it doesn't work My vB is already in another directory but i think the problem is because xenforo is in public_html and vB in same directory. So what i think about is to move vB directory in subdomain and give it try.
  2. shqawe

    XenForo Redirects for vBulletin

    How can i login to my vbulletin 5 forum after install this addon because when i'm trying to login to vbulletin forum it's redirect it me to xenforo even after i desable this addon. Any help in this issue.
  3. shqawe

    An unexpected error occurred. Please try again later.

    If this happened after uploading some addon i suggest to disable all addons by adding this code in config file. $config['enableListeners'] = false; And see if problem gone then try to delete last addons your install one by one.
  4. shqawe

    XF 2.2 Forum statistics not same as vbulletin

    Thanks again for your response @DarkGizmo . I think i'll go with modify statistics file by extending the original one, better than activate and move users.
  5. shqawe

    XF 2.2 Forum statistics not same as vbulletin

    Thanks @DarkGizmo so i think i should modify statistics php file to show all users including banned users am i right or there is easy way from ACP.
  6. shqawe

    XF 2.2 Forum statistics not same as vbulletin

    Hi, After migration from vbulletin to xenforo statistics are not same in vbulletin statistics was Threads: 15463 Users: 39493 Posts: 130880 But now in xenforo it's showing Threads: 15460 Users: 36629 Posts: 130629 I try to clean cache from tools but it still not showing the correct number...
  7. shqawe

    XF 2.0 Wow do you create html widgets in setup.php?

    @Gh0stAdventures First go to ACP then to Widget definitions menu and add information of widget the important things is Definition ID > which will use it in setup file Definition Class > is the name of widget php file. So if Definition id is TestWidget and Definition Class will be...
  8. shqawe

    XF 2.2 Laravel using Xenforo login

    I know is old post but because i searched too much for a way to check if user is authorized or not, using xenforo api with laravel 8 App i would like to share my code maybe will be useful for you @Jerimu or anyone in future: $session_id = $_COOKIE['xf_session']; $response =...
  9. shqawe

    XF 2.2 XFCP_Creator not found

    I am trying to add new field to my addon when create thread but when i try to extend Thread\Creator like below: class Creator extends XFCP_Creator I got this error XFCP_Creator not found and i already add Base class name XF\Service\Thread\Creator and Extension class name...
  10. shqawe

    XF 2.2 facebook share button

    I am trying to use share buttons in my addons loop and each item in loop has own share buttons to share its content and all of them work fine except Facebook button even when i use arg-pageTitle with share_page_macros it take page title instead of arg-pageTitle. I use macro inside my loop like...
  11. shqawe

    XF 2.1 set post date in new replier

    Greeting, I am trying to set post date as last post date in thread table when i create replier i tried to extend replier service and set new function as below and use it when i create replier but it doesn't work : Service\Thread\Replier public function setPostDate() {...
  12. shqawe

    XF 2.1 Render google ads from database

    So what's your solution if you want to do that can you give an advice or some highlights.🙏
  13. shqawe

    XF 2.1 Render google ads from database

    But this just happen just with google adsense code but when i try code like <img /> tag it's work perfectly and show any image i want so i think there is somwthing i miss or there is other function i should use:unsure:.
  14. shqawe

    XF 2.1 Render google ads from database

    I called this function from post entity in post macro and i called it in template like this {{ bb_code($post.getMsgForGa(), 'post', $post) }}
  15. shqawe

    XF 2.1 Render google ads from database

    @Lukas W. What i'm actually want to do is to split post message to two parts and put Adsense ads between these parts and i did what you said but unfortunately its print code as html tags without show ads and below will find my php code for this processes public function getMsgForGa() {...
Top Bottom