• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenPorta (Portal)

Status
Not open for further replies.
I did a couple days ago. Got no answer, decided to make a thread here.
Even so, the respective add-on thread is the best place for support with add-ons, especially when it comes to bugs and problems such as this.

The developer needs to know about it and respond and others using the add-on need to be aware of the problem and the fix.

Merging (again).
 
Hi. I'm trying to uninstall xenporta but it will not uninstall. I tried upgrading it to the latest version, that didn't work. I tried deleting xenporta files from the server then emptying and dropping its tables and it still showing as an installed add-on. How do I get rid of it so that I can re-install the latest? How do I completely uninstall an add-on in general in case I run into an uninstall problem like this again?
You cant off dropped all the tables if its still showing as installed. Use the search feature in phpmyadmin and search for 'EWR' and delete ONLY the ones related to porta if safe to do so. If you dont know what Im talking about then better not to touch it and get someone else to look at it
 
Yes the new XF notices, but I want the notice ONLY to appear on the portal. ;)
So what page criteria do I use for that?
Ohh ok. Dont know how to do that sorry. Im guessing its embedded in the page container somewhere and removing it should work, I wouldnt know what the code looks like, maybe someone else does, good luck
 
How can I find out which template to edit?
Using your browser, view the page source and look for a line of code near the top of the page which begins
<div id="content" class="; the class is the name of the template. So for the main forum page, the line of code is:
<div id="content" class="forum_list">, which makes the template forum_list.

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112

The template is EWRporta_Portal.
 
Usage Notes:
  • You will need to add these template edits manually if you plan on Globalizing Thread and Forum Layouts respectively... as these hooks do not yet exist in XenForo and I'm having trouble convincing Kier to add them.

    At the absolute bottom of "thread_view"
    Code:
    <xen:hook name="thread_view_share_after" params="{xen:array 'thread={$thread}'}" />
    At the absolute bottom of "forum_view"
    Code:
    <xen:hook name="forum_view_pagenav_after" params="{xen:array 'forum={$forum}'}" />
Just use the post render hook? Both those templates call it from a quick look at the controllers.
 
Even so, the respective add-on thread is the best place for support with add-ons, especially when it comes to bugs and problems such as this.

The developer needs to know about it and respond and others using the add-on need to be aware of the problem and the fix.

Merging (again).
I know but even so, an extra thread was needed because it could apply for any mod that would not uninstall.

What was the thread title again?

How Do You Uninstall A Modification That Won't Uninstall?

^^^If I created a thread like that without even mentioning xenporta would you still have merged it somewhere? I think it's a good question. I never even asked that when I was on vBulletin 4 but I had the same issue. There would be a modification I uninstalled and for some reason it's menus would still be there in my admincp.
 
You cant off dropped all the tables if its still showing as installed. Use the search feature in phpmyadmin and search for 'EWR' and delete ONLY the ones related to porta if safe to do so. If you dont know what Im talking about then better not to touch it and get someone else to look at it
Thanks this is good advice I'll check it out now.
 
You cant use <xen:sidebar> in temlate_post_render.
You sure? Doesn't sound right that you can't so I did some digging. And in the post render event you get $extraData which is what holds the sidebar contents in $extraData['sidebar'].
I think that you will be able to do your $template->create call and then possibly go $extraData = XenForo_Template_Public::getExtraContainerData();

Just did some more digging the the PAGE_CONTAINER template is rendered last so it should be entirely possible to use the template_post_render event to modify the sidebar end result.
 
I never even asked that when I was on vBulletin 4 but I had the same issue. There would be a modification I uninstalled and for some reason it's menus would still be there in my admincp.

Just an FYI, that's because the vB adminCP menus were built using .xml files that mod authors created for their mods. These files are uploaded when you install the mod. So you'd need to just delete these files when uninstalling the mod (which is a good idea with any mod), as uninstalling a mod (even in xF) doesn't delete the files you upload (any of them).
 
Anybody have any thoughts on why this custom block will not work for me?

Not sure if this will work for you but you can try it :)

Code:
<?xml version="1.0" encoding="utf-8"?>
<block block_id="Test" title="Test" version_string="1.0.0" version_id="1" url="" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="" cache="now">
  <admin_templates/>
  <listeners/>
  <options/>
  <phrases/>
  <route_prefixes/>
  <templates>
    <template title="EWRblock_Test"><![CDATA[<div class="messageText ugc baseHtml">
    <div class="secondaryContent">
        <h3>TeamSpeak</h3>
         
 
        <div><img src="http://www.blah.com/servers/ts3_logo.png" width="155" height="49"></div>
        <div><strong>xxx.xxx.xxx.xxx:xxxx</strong></div><br>
     
        <div>
            <script type="text/javascript" charset="utf-8" src="http://www.tsviewer.com/ts3viewer.php?ID=9&amp;text=XXXXXX&amp;text_size=11&amp;text_family=1&amp;js=1&amp;text_s_color=fa020b&amp;text_s_weight=bold&amp;text_s_style=italic&amp;text_s_variant=small-caps&amp;text_s_decoration=none&amp;text_s_color_h=fa020b&amp;text_s_weight_h=normal&amp;text_s_style_h=normal&amp;text_s_variant_h=normal&amp;text_s_decoration_h=none&amp;text_i_color=fa020b&amp;text_i_weight=normal&amp;text_i_style=normal&amp;text_i_variant=normal&amp;text_i_decoration=none&amp;text_i_color_h=fa020b&amp;text_i_weight_h=normal&amp;text_i_style_h=normal&amp;text_i_variant_h=normal&amp;text_i_decoration_h=none&amp;text_c_color=fa020b&amp;text_c_weight=bold&amp;text_c_style=normal&amp;text_c_variant=small-caps&amp;text_c_decoration=none&amp;text_c_color_h=fa020b&amp;text_c_weight_h=normal&amp;text_c_style_h=normal&amp;text_c_variant_h=normal&amp;text_c_decoration_h=none&amp;text_u_weight=normal&amp;text_u_style=italic&amp;text_u_variant=small-caps&amp;text_u_decoration=none&amp;text_u_color_h=fa020b&amp;text_u_weight_h=bold&amp;text_u_style_h=normal&amp;text_u_variant_h=normal&amp;text_u_decoration_h=none"></script><noscript>Enable JavaScript or visit <a href="http://www.tsviewer.com/index.php?page=ts_viewer&amp;ID=XXXXXX">TeamSpeak Viewer</a> to display the TeamSpeak server.</noscript>
        </div> 
     
   
</div>]]></template>
  </templates>
</block>

Renada :)
 
Status
Not open for further replies.
Top Bottom